summaryrefslogtreecommitdiff
path: root/lib/dirfd.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-03 18:50:53 +0000
committerJim Meyering <jim@meyering.net>2001-11-03 18:50:53 +0000
commit4f2e8e8b2bbd70501234e5bdb99444618d8cda1f (patch)
tree76523b6bfb3755857a283a1d2cda87783a21f705 /lib/dirfd.c
parentef991b4aa36d483ed3c78ad46b590dbf07c499c6 (diff)
downloadcoreutils-4f2e8e8b2bbd70501234e5bdb99444618d8cda1f.tar.xz
(dirfd): Reflect the fact that DIR_TO_FD now takes an argument.
Diffstat (limited to 'lib/dirfd.c')
-rw-r--r--lib/dirfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dirfd.c b/lib/dirfd.c
index e23406353..29761bf72 100644
--- a/lib/dirfd.c
+++ b/lib/dirfd.c
@@ -26,5 +26,5 @@
int
dirfd (DIR const *dir_p)
{
- return DIR_TO_FD;
+ return DIR_TO_FD (dir_p);
}