svn commit: r249789 - head/sbin/tunefs
Kirk McKusick
mckusick at FreeBSD.org
Tue Apr 23 06:37:51 UTC 2013
Author: mckusick
Date: Tue Apr 23 06:37:50 2013
New Revision: 249789
URL: http://svnweb.freebsd.org/changeset/base/249789
Log:
Fix error check.
Submitted by: Andrey Chernov (ache@)
MFC after: 3 days
Modified:
head/sbin/tunefs/tunefs.c
Modified: head/sbin/tunefs/tunefs.c
==============================================================================
--- head/sbin/tunefs/tunefs.c Tue Apr 23 06:28:49 2013 (r249788)
+++ head/sbin/tunefs/tunefs.c Tue Apr 23 06:37:50 2013 (r249789)
@@ -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;
More information about the svn-src-head
mailing list