From 34ac5d7b7ad068319169410d293495d789893350 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 25 Nov 2009 16:54:46 +0000 Subject: [PATCH] daemon: Fix sync() call on Unix. --- daemon/sync.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/sync.c b/daemon/sync.c index 2cdb10c..37e8faa 100644 --- a/daemon/sync.c +++ b/daemon/sync.c @@ -51,7 +51,8 @@ int sync_disks (void) { #if defined(HAVE_SYNC) - return sync (); + sync (); + return 0; #elif defined(WIN32) return sync_win32 (); #else -- 1.8.3.1