projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57e6790
)
memfd_test: Add missing argument to printf()
author
Pranith Kumar
<bobby.prani@gmail.com>
Thu, 4 Sep 2014 15:58:19 +0000
(11:58 -0400)
committer
Shuah Khan
<shuahkh@osg.samsung.com>
Thu, 4 Sep 2014 17:01:26 +0000
(11:01 -0600)
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>
tools/testing/selftests/memfd/memfd_test.c
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/memfd/memfd_test.c
b/tools/testing/selftests/memfd/memfd_test.c
index cb5001bfa5e30216f9acf61bb569d81ea19a6dcd..0b9eafb7ab7bc1cc0282a4eec26bad50786a23fe 100644
(file)
--- 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();
}
}