Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Apr 2016 02:53:52 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r298024 - head/tests/sys/file
Message-ID:  <201604150253.u3F2rqnA043802@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604150253.u3F2rqnA043802>