From 1b6b807152ea39b4d2c527f94e3d58e0df544690 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 13 May 2015 00:39:13 +0000 Subject: mincore: fix mismatched parentheses Oops, this completely broke things :x --- mincore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mincore.c b/mincore.c index 0028aea..ae127db 100644 --- a/mincore.c +++ b/mincore.c @@ -20,7 +20,7 @@ static void mincore_stats(const char *path, off_t offset, off_t len) static const char *fmt = sizeof(void *) == 8 ? "%s: %016lx %x\n": "%s: %08lx %x\n"; - if ((fd = open_noatime(path) < 0)) { + if ((fd = open_noatime(path)) < 0) { fprintf(stderr, "%s: open(): %s\n", path, strerror(errno)); return; } -- cgit v1.2.3-24-ge0c7