Formerly mach/hurd/__getdents.c.~2~
authorroland <roland>
Sun, 3 May 1992 19:53:46 +0000 (19:53 +0000)
committerroland <roland>
Sun, 3 May 1992 19:53:46 +0000 (19:53 +0000)
sysdeps/mach/hurd/getdents.c

index 746cccb..a3d337f 100644 (file)
@@ -36,7 +36,7 @@ DEFUN(__getdirentries, (fd, buf, nbytes, basep),
                         __dir_readdir (port, buf, nbytes, *basep,
                                        basep, &amount));
   if (err)
-    return __hurd_fail (err);
+    return __hurd_dfail (fd, err);
 
   return amount;
 }