summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-03-19 15:17:34 +0000
committerbde <bde@FreeBSD.org>1996-03-19 15:17:34 +0000
commit84effbbc5cffa90679e1a53626426e9a2eba857c (patch)
tree0681fa08cc96a18f0f06fa9ed31bc6762ba4e963 /usr.sbin
parent76f34228548fe3763761c41a7e8295e9d0c8eb38 (diff)
downloadFreeBSD-src-84effbbc5cffa90679e1a53626426e9a2eba857c.zip
FreeBSD-src-84effbbc5cffa90679e1a53626426e9a2eba857c.tar.gz
Updated format strings to match Lite2's fixed-width type changes.
uids and gids aren't unreasonably long any more, so we get to change all the format strings that were fixed to use %lu back to %u.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ctm/ctm_scan/ctm_scan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ctm/ctm_scan/ctm_scan.c b/usr.sbin/ctm/ctm_scan/ctm_scan.c
index 1633035..c9937b4 100644
--- a/usr.sbin/ctm/ctm_scan/ctm_scan.c
+++ b/usr.sbin/ctm/ctm_scan/ctm_scan.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: ctm_scan.c,v 1.11 1995/05/30 03:47:31 rgrimes Exp $
+ * $Id: ctm_scan.c,v 1.12 1995/07/13 15:33:42 phk Exp $
*
*/
#include <stdio.h>
@@ -82,7 +82,7 @@ Do(char *path)
switch(st.st_mode & S_IFMT) {
case S_IFDIR:
if(!CheckMode) {
- i = printf("d %s %o %lu %lu - - -\n",
+ i = printf("d %s %o %u %u - - -\n",
buf,st.st_mode & (~S_IFMT),st.st_uid,st.st_gid);
if(!i)
exit(-1);
@@ -119,7 +119,7 @@ Do(char *path)
} else {
if(!l)
j=2;
- i = printf("f %s %o %lu %lu %u %lu %s\n",
+ i = printf("f %s %o %u %u %u %lu %s\n",
buf,st.st_mode & (~S_IFMT),st.st_uid,st.st_gid,
j,(u_long)st.st_size,MD5End(&ctx,md5));
if(!i) exit(-1);
OpenPOWER on IntegriCloud