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

index 980f7a8..5472a61 100644 (file)
@@ -27,6 +27,6 @@ DEFUN(ftruncate, (fd, length),
 {
   error_t err;
   if (err = _HURD_DPORT_USE (fd, __file_truncate (port, length)))
-    return __hurd_fail (err);
+    return __hurd_dfail (fd, err);
   return 0;
 }