svn commit: r298024 - head/tests/sys/file

Garrett Cooper ngie at FreeBSD.org
Fri Apr 15 02:53:54 UTC 2016


Author: ngie
Date: Fri Apr 15 02:53:52 2016
New Revision: 298024
URL: https://svnweb.freebsd.org/changeset/base/298024

Log:
  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

Modified:
  head/tests/sys/file/flock_helper.c

Modified: head/tests/sys/file/flock_helper.c
==============================================================================
--- head/tests/sys/file/flock_helper.c	Fri Apr 15 02:36:14 2016	(r298023)
+++ head/tests/sys/file/flock_helper.c	Fri Apr 15 02:53:52 2016	(r298024)
@@ -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;


More information about the svn-src-all mailing list