From 2ed36928373cc3dfb20a4d17042e9a6e05538e41 Mon Sep 17 00:00:00 2001 From: Pranith Kumar Date: Thu, 4 Sep 2014 11:58:19 -0400 Subject: memfd_test: Add missing argument to printf() Add a missing path argument buf to printf() Signed-off-by: Pranith Kumar Reviewed-by: David Herrmann Signed-off-by: Shuah Khan --- tools/testing/selftests/memfd/memfd_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/testing') diff --git a/tools/testing/selftests/memfd/memfd_test.c b/tools/testing/selftests/memfd/memfd_test.c index cb5001bfa5e3..0b9eafb7ab7b 100644 --- a/tools/testing/selftests/memfd/memfd_test.c +++ b/tools/testing/selftests/memfd/memfd_test.c @@ -203,7 +203,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(); } } -- cgit v1.2.3-70-g09d2