socsvn commit: r337240 - soc2018/aniketp/head/tests/sys/audit

aniketp at FreeBSD.org aniketp at FreeBSD.org
Sat May 19 19:24:09 UTC 2018


Author: aniketp
Date: Sat May 19 19:24:05 2018
New Revision: 337240
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=337240

Log:
  Update st_ino format specifier from u to lu

Modified:
  soc2018/aniketp/head/tests/sys/audit/file-attribute-access.c

Modified: soc2018/aniketp/head/tests/sys/audit/file-attribute-access.c
==============================================================================
--- soc2018/aniketp/head/tests/sys/audit/file-attribute-access.c	Fri May 18 18:55:44 2018	(r337239)
+++ soc2018/aniketp/head/tests/sys/audit/file-attribute-access.c	Sat May 19 19:24:05 2018	(r337240)
@@ -159,7 +159,7 @@
 	FILE *pipefd = setup(fds, "fa");
 	ATF_REQUIRE_EQ(0, fstat(filedesc, &statbuff));
 
-	snprintf(regex, 30, "fstat.*%u.*return,success", statbuff.st_ino);
+	snprintf(regex, 30, "fstat.*%lu.*return,success", statbuff.st_ino);
 	check_audit(fds, regex, pipefd);
 }
 
@@ -298,7 +298,7 @@
 	FILE *pipefd = setup(fds, "fa");
 	ATF_REQUIRE_EQ(0, fstatfs(filedesc, &statfsbuff));
 
-	snprintf(regex, 30, "fstatfs.*%u.*return,success", statbuff.st_ino);
+	snprintf(regex, 30, "fstatfs.*%lu.*return,success", statbuff.st_ino);
 	check_audit(fds, regex, pipefd);
 }
 


More information about the svn-soc-all mailing list