From ae4287f8b28853c6c51b5b5aae5807d23730d1d5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 26 Nov 2007 12:53:17 +0000 Subject: Declare fsync also for Unix98. 2007-11-26 Ulrich Drepper * posix/unistd.h: Declare fsync also for Unix98. --- nscd/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nscd') diff --git a/nscd/cache.c b/nscd/cache.c index 4065dac..12c4f01 100644 --- a/nscd/cache.c +++ b/nscd/cache.c @@ -488,7 +488,7 @@ prune_cache (struct database_dyn *table, time_t now, int fd) } } - if (__builtin_expect (mark_use_alloca, 0)) + if (__builtin_expect (! mark_use_alloca, 0)) free (mark); /* Run garbage collection if any entry has been removed or replaced. */ -- cgit v1.1