From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pranith Kumar Subject: [PATCH Resend] memfd_test: Add missing argument to printf() Date: Thu, 4 Sep 2014 11:58:19 -0400 Message-ID: <1409846302-3513-1-git-send-email-bobby.prani@gmail.com> Return-path: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Shuah Khan , Andrew Morton , Hugh Dickins , David Herrmann , "open list:KERNEL SELFTEST F..." , open list List-Id: linux-api@vger.kernel.org Add a missing path argument buf to printf() Signed-off-by: Pranith Kumar Reviewed-by: David Herrmann --- tools/testing/selftests/memfd/memfd_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/memfd/memfd_test.c b/tools/testing/selftests/memfd/memfd_test.c index 3634c90..c343df8 100644 --- a/tools/testing/selftests/memfd/memfd_test.c +++ b/tools/testing/selftests/memfd/memfd_test.c @@ -205,7 +205,7 @@ static void mfd_fail_open(int fd, int flags, mode_t mode) sprintf(buf, "/proc/self/fd/%d", fd); r = open(buf, flags, mode); if (r >= 0) { - printf("open(%s) didn't fail as expected\n"); + printf("open(%s) didn't fail as expected\n", buf); abort(); } } -- 2.1.0