(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 e234063534a5ab6309db70a0c10a391bd86848b5..29761bf72f1ae0aa257bf7fcc70cedee283f5f83 100644 (file)
@@ -26,5 +26,5 @@
 int
 dirfd (DIR const *dir_p)
 {
-  return DIR_TO_FD;
+  return DIR_TO_FD (dir_p);
 }