Fix error check.

Submitted by: Andrey Chernov (ache@)
MFC after: 3 days
This commit is contained in:
Kirk McKusick 2013-04-23 06:37:50 +00:00
parent 90eafc0bb8
commit 244dccb7fd

View File

@ -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;