update from libc
[gnulib.git] / 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);
 }