summaryrefslogtreecommitdiffstats
path: root/sbin/tunefs
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2010-02-11 06:33:35 +0000
committermckusick <mckusick@FreeBSD.org>2010-02-11 06:33:35 +0000
commit39dab6f5753eaa62fe62bc9e95e00f99505325ac (patch)
treef2a951c42242609d6debbf377fb19134a79803dd /sbin/tunefs
parentf9458438c768cae7d300a08ff6a5fa1ae2e15206 (diff)
downloadFreeBSD-src-39dab6f5753eaa62fe62bc9e95e00f99505325ac.zip
FreeBSD-src-39dab6f5753eaa62fe62bc9e95e00f99505325ac.tar.gz
Quiet spurious warnings.
Diffstat (limited to 'sbin/tunefs')
-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 1b5f21a..e4adb52 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 {
OpenPOWER on IntegriCloud