diff options
author | mckusick <mckusick@FreeBSD.org> | 2013-04-23 06:37:50 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2013-04-23 06:37:50 +0000 |
commit | e04d23c5df0966fb23528fe546616c55361dd54f (patch) | |
tree | 25bc4e108fdf32f6fb8269644fe268ad39dca0f3 /sbin/tunefs | |
parent | e05adac25b39ed88c24c359c5e8e0824f56d2678 (diff) | |
download | FreeBSD-src-e04d23c5df0966fb23528fe546616c55361dd54f.zip FreeBSD-src-e04d23c5df0966fb23528fe546616c55361dd54f.tar.gz |
Fix error check.
Submitted by: Andrey Chernov (ache@)
MFC after: 3 days
Diffstat (limited to 'sbin/tunefs')
-rw-r--r-- | sbin/tunefs/tunefs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c index 0671d1d..2ad01c0 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; |