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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to