summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-06-15 07:44:39 +0000
committerpeter <peter@FreeBSD.org>2001-06-15 07:44:39 +0000
commitefc05ef868ba5c971ff082844f446fa30ab5246d (patch)
treee73850423ecf7a62708ccbc9681dc741cba252d2 /sys/ufs
parent7efbde79e029a55568478976dd491587587463a3 (diff)
downloadFreeBSD-src-efc05ef868ba5c971ff082844f446fa30ab5246d.zip
FreeBSD-src-efc05ef868ba5c971ff082844f446fa30ab5246d.tar.gz
Fix warning:
1973: warning: int format, long int arg (arg 5)
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c
index 21a26a3..884db4f 100644
--- a/sys/ufs/ffs/ffs_alloc.c
+++ b/sys/ufs/ffs/ffs_alloc.c
@@ -1970,7 +1970,7 @@ sysctl_ffs_fsck(SYSCTL_HANDLER_ARGS)
mp->mnt_stat.f_mntonname,
filetype == IFDIR ? "directory" : "file",
(ino_t)cmd.value,
- (ino_t)cmd.value + cmd.size - 1);
+ (ino_t)(cmd.value + cmd.size - 1));
}
#endif /* DEBUG */
tip.i_devvp = ump->um_devvp;
OpenPOWER on IntegriCloud