From 21ace8749732bfdb4cb7eedb58e66024da65ff94 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Fri, 13 Oct 2017 21:41:46 -0700 Subject: [PATCH] test - Cleanup pipe2 * Cleanup the pipe2 code a bit --- test/sysperf/pipe2.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/sysperf/pipe2.c b/test/sysperf/pipe2.c index d978c8cff4..51765a4011 100644 --- a/test/sysperf/pipe2.c +++ b/test/sysperf/pipe2.c @@ -1,9 +1,6 @@ /* * pipe2.c - * - * $DragonFly: src/test/sysperf/pipe2.c,v 1.5 2004/04/29 16:05:21 dillon Exp $ */ - #include #include #include @@ -49,7 +46,8 @@ main(int ac, char **av) if (ac >= 4) msg = av[3]; - buf = mmap(NULL, bytes * 2 + PAGE_SIZE, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANON, -1, 0); + buf = mmap(NULL, bytes * 2 + PAGE_SIZE, + PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANON, -1, 0); if (buf == MAP_FAILED) { perror("mmap/buffer"); exit(1); -- 2.11.4.GIT