summaryrefslogtreecommitdiff
path: root/fstests/fstests.c
diff options
context:
space:
mode:
Diffstat (limited to 'fstests/fstests.c')
-rw-r--r--fstests/fstests.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fstests/fstests.c b/fstests/fstests.c
index 7611bce1..5e72f0b0 100644
--- a/fstests/fstests.c
+++ b/fstests/fstests.c
@@ -1,5 +1,5 @@
/* Test filesystem behavior
- Copyright (C) 1993,94,2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1993,94,2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -59,9 +59,9 @@ main ()
#if 0
if ((err = dir_unlink (root, "CREATED")) && err != ENOENT)
printf ("Error on unlink: %d\n", err);
- else if (err = dir_pathtrans (root, "CREATED", O_WRITE | O_CREAT, 0666,
- &retry, pathbuf, &filetowrite))
- printf ("Error on pathtrans: %d\n", err);
+ else if (err = dir_lookup (root, "CREATED", O_WRITE | O_CREAT, 0666,
+ &retry, pathbuf, &filetowrite))
+ printf ("Error on lookup: %d\n", err);
else if (err = io_write (filetowrite, string, strlen (string), -1, &written))
printf ("Error on write: %d\n", err);
else if (written != strlen (string))