mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 09:50:04 +00:00
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>
This commit is contained in:
parent
57e67900d4
commit
2ed3692837
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue