Set test_argv to NULL, not 0, if not executing a specific test

MFC after: 1 week
Submitted by: pfg
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2016-04-15 02:53:52 +00:00
parent da908789ee
commit abea2d5a7e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298024

View File

@ -1566,7 +1566,7 @@ main(int argc, const char *argv[])
} else {
testnum = 0;
test_argc = 0;
test_argv = 0;
test_argv = NULL;
}
sa.sa_handler = ignore_alarm;