Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ed36928 authored by Pranith Kumar's avatar Pranith Kumar Committed by Shuah Khan
Browse files

memfd_test: Add missing argument to printf()



Add a missing path argument buf to printf()

Signed-off-by: default avatarPranith Kumar <bobby.prani@gmail.com>
Reviewed-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 57e67900
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
	}
}