summaryrefslogtreecommitdiff
path: root/sbin/tunefs
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2013-04-23 06:37:50 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2013-04-23 06:37:50 +0000
commit244dccb7fdc680e85c9cdbd7ddd21145c41bd0bd (patch)
tree25bc4e108fdf32f6fb8269644fe268ad39dca0f3 /sbin/tunefs
parent90eafc0bb8aae84f77c21d3284aaaafc3fe1ad61 (diff)
downloadsrc-test-244dccb7fdc680e85c9cdbd7ddd21145c41bd0bd.tar.gz
src-test-244dccb7fdc680e85c9cdbd7ddd21145c41bd0bd.zip
Notes
Diffstat (limited to 'sbin/tunefs')
-rw-r--r--sbin/tunefs/tunefs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c
index 0671d1de58969..2ad01c0b3f1fb 100644
--- a/sbin/tunefs/tunefs.c
+++ b/sbin/tunefs/tunefs.c
@@ -174,7 +174,7 @@ main(int argc, char *argv[])
found_arg = 1;
name = "space to hold for metadata blocks";
kvalue = atoi(optarg);
- if (mvalue < 0)
+ if (kvalue < 0)
errx(10, "bad %s (%s)", name, optarg);
kflag = 1;
break;