diff options
author | Roland McGrath <roland@gnu.org> | 2001-02-26 04:14:37 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-02-26 04:14:37 +0000 |
commit | 35a611c53658a820cdbca66c6175aad0714794a8 (patch) | |
tree | e05ac86171583016b2550efc586ea13eaea5f2e0 /fstests/fstests.c | |
parent | 9912022fe2134b1254f3e3035da540571dee32bd (diff) |
2001-02-25 Roland McGrath <roland@frob.com>
* fstests.c (main): sync now returns void.
Diffstat (limited to 'fstests/fstests.c')
-rw-r--r-- | fstests/fstests.c | 5 |
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"); |