From 35a611c53658a820cdbca66c6175aad0714794a8 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 26 Feb 2001 04:14:37 +0000 Subject: 2001-02-25 Roland McGrath * fstests.c (main): sync now returns void. --- fstests/fstests.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'fstests/fstests.c') diff --git a/fstests/fstests.c b/fstests/fstests.c index f7e990a9..7611bce1 100644 --- a/fstests/fstests.c +++ b/fstests/fstests.c @@ -1,5 +1,5 @@ /* Test filesystem behavior - Copyright (C) 1993,94,2000 Free Software Foundation, Inc. + Copyright (C) 1993,94,2000, 2001 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -84,8 +84,7 @@ main () perror ("2nd mkdir"); if (rename ("/newdir2", "/foo")) perror ("2nd rename"); - if (sync ()) - perror ("sync"); + sync (); #endif printf ("All done.\n"); -- cgit v1.2.3