From b6d8272551435098c716c546a5201206517e5da9 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 6 Oct 2015 18:32:19 +0000 Subject: modernize style: "return" is not a function --- test-mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test-mmap.c') diff --git a/test-mmap.c b/test-mmap.c index c322a34d..3a6232d9 100644 --- a/test-mmap.c +++ b/test-mmap.c @@ -5,5 +5,5 @@ int main(void) { - return(MAP_FAILED != mmap(NULL, 1, PROT_READ, MAP_SHARED, -1, 0)); + return mmap(NULL, 1, PROT_READ, MAP_SHARED, -1, 0) != MAP_FAILED; } -- cgit v1.2.3-56-ge451