(dirfd): Reflect the fact that DIR_TO_FD now takes an argument.
authorJim Meyering <jim@meyering.net>
Sat, 3 Nov 2001 18:50:53 +0000 (18:50 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 3 Nov 2001 18:50:53 +0000 (18:50 +0000)
lib/dirfd.c

index e234063..29761bf 100644 (file)
@@ -26,5 +26,5 @@
 int
 dirfd (DIR const *dir_p)
 {
-  return DIR_TO_FD;
+  return DIR_TO_FD (dir_p);
 }