summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-04-15 02:53:52 +0000
committerngie <ngie@FreeBSD.org>2016-04-15 02:53:52 +0000
commit93279154457cf388b7566571c696cb104811f0b8 (patch)
tree4e4240a7e3eeee22d61e279ae839e3fd250efd35 /tests
parentb661a7c9c12c09497e329f6619d3e562cfd1418f (diff)
downloadFreeBSD-src-93279154457cf388b7566571c696cb104811f0b8.zip
FreeBSD-src-93279154457cf388b7566571c696cb104811f0b8.tar.gz
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
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/file/flock_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sys/file/flock_helper.c b/tests/sys/file/flock_helper.c
index 49e47b8..0fca15e 100644
--- a/tests/sys/file/flock_helper.c
+++ b/tests/sys/file/flock_helper.c
@@ -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;
OpenPOWER on IntegriCloud