svn commit: r250094 - stable/9/sbin/tunefs
Kirk McKusick
mckusick at FreeBSD.org
Tue Apr 30 06:41:42 UTC 2013
Author: mckusick
Date: Tue Apr 30 06:41:42 2013
New Revision: 250094
URL: http://svnweb.freebsd.org/changeset/base/250094
Log:
MFC of 249789:
Fix error check.
Submitted by: Andrey Chernov (ache@)
Modified:
stable/9/sbin/tunefs/tunefs.c
Directory Properties:
stable/9/sbin/tunefs/ (props changed)
Modified: stable/9/sbin/tunefs/tunefs.c
==============================================================================
--- stable/9/sbin/tunefs/tunefs.c Tue Apr 30 06:30:21 2013 (r250093)
+++ stable/9/sbin/tunefs/tunefs.c Tue Apr 30 06:41:42 2013 (r250094)
@@ -172,7 +172,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-stable-9
mailing list