diff options
author | bde <bde@FreeBSD.org> | 1998-06-30 19:53:09 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-30 19:53:09 +0000 |
commit | 080e3ef296732cdd3339a502a9a7484cd8751f50 (patch) | |
tree | 111b065dcfb713494311f7e06bdcc0150edcccac /contrib/cpio | |
parent | dcbfd1f86ef9ec949d4cd635979107ae00e6e11c (diff) | |
download | FreeBSD-src-080e3ef296732cdd3339a502a9a7484cd8751f50.zip FreeBSD-src-080e3ef296732cdd3339a502a9a7484cd8751f50.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'contrib/cpio')
-rw-r--r-- | contrib/cpio/copyin.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/cpio/copyin.c b/contrib/cpio/copyin.c index 6f2db39..5b71c05 100644 --- a/contrib/cpio/copyin.c +++ b/contrib/cpio/copyin.c @@ -1075,7 +1075,7 @@ long_format (file_hdr, link_name) } tbuf[16] = '\0'; - printf ("%s %3u ", mbuf, file_hdr->c_nlink); + printf ("%s %3lu ", mbuf, file_hdr->c_nlink); #ifndef __MSDOS__ if (numeric_uid) @@ -1089,8 +1089,7 @@ long_format (file_hdr, link_name) if ((file_hdr->c_mode & CP_IFMT) == CP_IFCHR || (file_hdr->c_mode & CP_IFMT) == CP_IFBLK) - printf ("%3u, %3u ", file_hdr->c_rdev_maj, - file_hdr->c_rdev_min); + printf ("%3lu, %3lu ", file_hdr->c_rdev_maj, file_hdr->c_rdev_min); else #endif printf ("%8lu ", file_hdr->c_filesize); |