Date: Sat, 19 May 2018 19:24:07 GMT From: aniketp@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r337240 - soc2018/aniketp/head/tests/sys/audit Message-ID: <201805191924.w4JJO7Df039091@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805191924.w4JJO7Df039091>