summaryrefslogtreecommitdiffstats
path: root/bin/mv
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-28 21:00:04 +0000
committerbde <bde@FreeBSD.org>1998-06-28 21:00:04 +0000
commit7368b18e567d874a8dc559df21600e2ae7f053a1 (patch)
tree3913049eaa524495bce6ee277c904e658f70da58 /bin/mv
parent31e25f7859a405b6f755c1ba1ccce919fcfd5a3f (diff)
downloadFreeBSD-src-7368b18e567d874a8dc559df21600e2ae7f053a1.zip
FreeBSD-src-7368b18e567d874a8dc559df21600e2ae7f053a1.tar.gz
Fixed printf format errors.
Diffstat (limited to 'bin/mv')
-rw-r--r--bin/mv/mv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/mv/mv.c b/bin/mv/mv.c
index 20f4a27..2718285 100644
--- a/bin/mv/mv.c
+++ b/bin/mv/mv.c
@@ -45,7 +45,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)mv.c 8.2 (Berkeley) 4/2/94";
#endif
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 */
#include <sys/param.h>
@@ -272,8 +272,8 @@ err: if (unlink(to))
oldmode = sbp->st_mode & ALLPERMS;
if (fchown(to_fd, sbp->st_uid, sbp->st_gid)) {
- warn("%s: set owner/group (was: %u/%u)", to, sbp->st_uid,
- sbp->st_gid);
+ warn("%s: set owner/group (was: %lu/%lu)", to,
+ (u_long)sbp->st_uid, (u_long)sbp->st_gid);
if (oldmode & (S_ISUID | S_ISGID)) {
warnx(
"%s: owner/group changed; clearing suid/sgid (mode was 0%03o)",
OpenPOWER on IntegriCloud