diff options
Diffstat (limited to 'Mac/Compat/sync.c')
-rw-r--r-- | Mac/Compat/sync.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Compat/sync.c b/Mac/Compat/sync.c index 944ba23..1a8d3f9 100644 --- a/Mac/Compat/sync.c +++ b/Mac/Compat/sync.c @@ -5,13 +5,13 @@ #include "macdefs.h" -int +void sync(void) { if (FlushVol((StringPtr)0, 0) == noErr) - return 0; + return; else { errno= ENODEV; - return -1; + return; } } |