aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/rmdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/rmdir.c')
-rw-r--r--sysdeps/mach/hurd/rmdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/rmdir.c b/sysdeps/mach/hurd/rmdir.c
index 920d698644..be9a254a30 100644
--- a/sysdeps/mach/hurd/rmdir.c
+++ b/sysdeps/mach/hurd/rmdir.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 95, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,95,97,99 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -28,7 +28,7 @@ __rmdir (file_name)
{
error_t err;
const char *name;
- file_t parent = __file_name_split (file_name, (char **) &name);
+ file_t parent = __directory_name_split (file_name, (char **) &name);
if (parent == MACH_PORT_NULL)
return -1;
err = __dir_rmdir (parent, name);