提交 2ed36928 编写于 作者: P Pranith Kumar 提交者: Shuah Khan

memfd_test: Add missing argument to printf()

Add a missing path argument buf to printf()
Signed-off-by: NPranith Kumar <bobby.prani@gmail.com>
Reviewed-by: NDavid Herrmann <dh.herrmann@gmail.com>
Signed-off-by: NShuah Khan <shuahkh@osg.samsung.com>
上级 57e67900
......@@ -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();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册