summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-02-26 04:14:37 +0000
committerRoland McGrath <roland@gnu.org>2001-02-26 04:14:37 +0000
commit35a611c53658a820cdbca66c6175aad0714794a8 (patch)
treee05ac86171583016b2550efc586ea13eaea5f2e0
parent9912022fe2134b1254f3e3035da540571dee32bd (diff)
2001-02-25 Roland McGrath <roland@frob.com>
* fstests.c (main): sync now returns void.
-rw-r--r--fstests/fstests.c5
1 files changed, 2 insertions, 3 deletions
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");