diff options
author | Pranith Kumar <bobby.prani@gmail.com> | 2014-09-04 11:58:19 -0400 |
---|---|---|
committer | Maciej Wereski <m.wereski@partner.samsung.com> | 2014-12-22 09:16:35 +0100 |
commit | bae7f111ba3232abffa02bf730a8d1118b09429e (patch) | |
tree | 7e93ab8bbbae6080f1c259ca1e9a32ec0c27aec2 | |
parent | 43b9d9aec8c17b9078be049d75e4c8a7c579d902 (diff) | |
download | linux-3.10-bae7f111ba3232abffa02bf730a8d1118b09429e.tar.gz linux-3.10-bae7f111ba3232abffa02bf730a8d1118b09429e.tar.bz2 linux-3.10-bae7f111ba3232abffa02bf730a8d1118b09429e.zip |
memfd_test: Add missing argument to printf()
Add a missing path argument buf to printf()
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
-rw-r--r-- | tools/testing/selftests/memfd/memfd_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/memfd/memfd_test.c b/tools/testing/selftests/memfd/memfd_test.c index cb5001bfa5e..0b9eafb7ab7 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(); } } |