summaryrefslogtreecommitdiff
path: root/sbin/tunefs/tunefs.c
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2010-02-11 06:33:35 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2010-02-11 06:33:35 +0000
commita6cc0cf692d622a0527da215fd03774eed3d3dd2 (patch)
treef2a951c42242609d6debbf377fb19134a79803dd /sbin/tunefs/tunefs.c
parent390985729b07e9c64cdb775a9c73bdafa301986c (diff)
downloadsrc-test2-a6cc0cf692d622a0527da215fd03774eed3d3dd2.tar.gz
src-test2-a6cc0cf692d622a0527da215fd03774eed3d3dd2.zip
Notes
Diffstat (limited to 'sbin/tunefs/tunefs.c')
-rw-r--r--sbin/tunefs/tunefs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c
index 1b5f21ae3753..e4adb5267eb3 100644
--- a/sbin/tunefs/tunefs.c
+++ b/sbin/tunefs/tunefs.c
@@ -301,7 +301,7 @@ main(int argc, char *argv[])
}
if (fflag) {
name = "average file size";
- if (sblock.fs_avgfilesize == fvalue) {
+ if (sblock.fs_avgfilesize == (unsigned)fvalue) {
warnx("%s remains unchanged as %d", name, fvalue);
}
else {
@@ -427,7 +427,7 @@ main(int argc, char *argv[])
}
if (sflag) {
name = "expected number of files per directory";
- if (sblock.fs_avgfpdir == svalue) {
+ if (sblock.fs_avgfpdir == (unsigned)svalue) {
warnx("%s remains unchanged as %d", name, svalue);
}
else {