summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree/compare.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-02 14:41:34 +0000
committerbde <bde@FreeBSD.org>1998-08-02 14:41:34 +0000
commitaaeb261fcc7eacef2d74ca1937e92075a2de6ff2 (patch)
treed8717cb573ed3440890858723efbbdc830a19047 /usr.sbin/mtree/compare.c
parent950c1ed8023331a60b69fddd35acb5f1dfbb39d8 (diff)
downloadFreeBSD-src-aaeb261fcc7eacef2d74ca1937e92075a2de6ff2.zip
FreeBSD-src-aaeb261fcc7eacef2d74ca1937e92075a2de6ff2.tar.gz
Fixed printf format errors.
Diffstat (limited to 'usr.sbin/mtree/compare.c')
-rw-r--r--usr.sbin/mtree/compare.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/mtree/compare.c b/usr.sbin/mtree/compare.c
index 760bf64..105b137 100644
--- a/usr.sbin/mtree/compare.c
+++ b/usr.sbin/mtree/compare.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)compare.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
- "$Id: compare.c,v 1.8 1997/10/01 06:30:00 charnier Exp $";
+ "$Id: compare.c,v 1.9 1998/06/09 05:02:29 imp Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -119,7 +119,7 @@ typeerr: LABEL;
if (s->flags & (F_UID | F_UNAME) && s->st_uid != p->fts_statp->st_uid) {
LABEL;
(void)printf("%suser (%lu, %lu",
- tab, s->st_uid, p->fts_statp->st_uid);
+ tab, (u_long)s->st_uid, (u_long)p->fts_statp->st_uid);
if (uflag)
if (chown(p->fts_accpath, s->st_uid, -1))
(void)printf(", not modified: %s)\n",
@@ -133,7 +133,7 @@ typeerr: LABEL;
if (s->flags & (F_GID | F_GNAME) && s->st_gid != p->fts_statp->st_gid) {
LABEL;
(void)printf("%sgid (%lu, %lu",
- tab, s->st_gid, p->fts_statp->st_gid);
+ tab, (u_long)s->st_gid, (u_long)p->fts_statp->st_gid);
if (uflag)
if (chown(p->fts_accpath, -1, s->st_gid))
(void)printf(", not modified: %s)\n",
OpenPOWER on IntegriCloud