diff --git a/code/leak.c b/code/leak.c index f00681ff5..6daf44c62 100644 --- a/code/leak.c +++ b/code/leak.c @@ -51,10 +51,10 @@ main(void) int ret; ret = pipe2(spray[i], O_NONBLOCK); if (ret < 0) { - printf("main: error: pipe2: object %lu\n", i); + printf("main: error: object %lu pipe2: %i\n", i, ret); exit(-1); } - ret = fcntl(spray[i][0], F_SETPIPE_SZ, 8); + ret = fcntl(spray[i][0], F_SETPIPE_SZ, 8192); if (ret < 0) { printf("main: error: fcntl: object %lu\n", i); exit(-1);