From ecb3a9efa16da1685fb5fac54d22a1e71748ec2f Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 19 Feb 2007 09:28:52 +0000 Subject: [PATCH] * Oops, fix compilation warning. --- test/zzcat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/zzcat.c b/test/zzcat.c index c22bf5e..7fd5d24 100644 --- a/test/zzcat.c +++ b/test/zzcat.c @@ -120,7 +120,7 @@ int main(int argc, char *argv[]) int x = myrand() % mlen; data[moff + x] = data[x]; } - munmap(map); + munmap(map, mlen); } #endif close(fd);