From: Richard Jones Date: Wed, 25 Nov 2009 16:54:46 +0000 (+0000) Subject: daemon: Fix sync() call on Unix. X-Git-Tag: 1.0.80~37 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=34ac5d7b7ad068319169410d293495d789893350;p=libguestfs.git daemon: Fix sync() call on Unix. --- 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