mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 19:52:44 +00:00
Fixed printf format errors.
This commit is contained in:
parent
ba198492ad
commit
fe6f0b0824
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37245
@ -45,7 +45,7 @@ static char const copyright[] =
|
|||||||
static char sccsid[] = "@(#)mv.c 8.2 (Berkeley) 4/2/94";
|
static char sccsid[] = "@(#)mv.c 8.2 (Berkeley) 4/2/94";
|
||||||
#endif
|
#endif
|
||||||
static const char rcsid[] =
|
static const char rcsid[] =
|
||||||
"$Id: mv.c,v 1.19 1998/05/25 22:44:16 steve Exp $";
|
"$Id: mv.c,v 1.20 1998/06/09 03:39:38 imp Exp $";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
@ -272,8 +272,8 @@ err: if (unlink(to))
|
|||||||
|
|
||||||
oldmode = sbp->st_mode & ALLPERMS;
|
oldmode = sbp->st_mode & ALLPERMS;
|
||||||
if (fchown(to_fd, sbp->st_uid, sbp->st_gid)) {
|
if (fchown(to_fd, sbp->st_uid, sbp->st_gid)) {
|
||||||
warn("%s: set owner/group (was: %u/%u)", to, sbp->st_uid,
|
warn("%s: set owner/group (was: %lu/%lu)", to,
|
||||||
sbp->st_gid);
|
(u_long)sbp->st_uid, (u_long)sbp->st_gid);
|
||||||
if (oldmode & (S_ISUID | S_ISGID)) {
|
if (oldmode & (S_ISUID | S_ISGID)) {
|
||||||
warnx(
|
warnx(
|
||||||
"%s: owner/group changed; clearing suid/sgid (mode was 0%03o)",
|
"%s: owner/group changed; clearing suid/sgid (mode was 0%03o)",
|
||||||
|
Loading…
Reference in New Issue
Block a user