Commit 087b5cd5 authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

test/zdtm: print a file name as string

Signed-off-by: 's avatarAndrew Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 35603e51
......@@ -225,7 +225,7 @@ static int rand_ipc_sem(void)
fd = open(name, O_WRONLY);
if (fd < 0) {
err("Can't open %d\n", name);
err("Can't open %s", name);
return fd;
}
sprintf(buf, "%d %d %d %d\n", (unsigned)lrand48(), (unsigned)lrand48(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment