summary refs log tree commit diff
path: root/sysdeps/mach/hurd/unlink.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-18 20:37:12 +0000
committerRoland McGrath <roland@gnu.org>2002-08-18 20:37:12 +0000
commitac04d0ddf6a2bf8e8914ca9a22f3080b8ea5bd49 (patch)
treebf7a4f712a572ee9545ab78617d173bf5900a5a5 /sysdeps/mach/hurd/unlink.c
parentb127fa25375feaa9ed71e34bb44851c82feb0b4a (diff)
downloadglibc-ac04d0ddf6a2bf8e8914ca9a22f3080b8ea5bd49.tar.gz
glibc-ac04d0ddf6a2bf8e8914ca9a22f3080b8ea5bd49.tar.xz
glibc-ac04d0ddf6a2bf8e8914ca9a22f3080b8ea5bd49.zip
* sysdeps/mach/hurd/mkdir.c (__mkdir): Use __directory_name_split
	instead of __file_name_split.
	* sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
Diffstat (limited to 'sysdeps/mach/hurd/unlink.c')
-rw-r--r--sysdeps/mach/hurd/unlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/unlink.c b/sysdeps/mach/hurd/unlink.c
index 9dbd42c1f0..959c2f8d00 100644
--- a/sysdeps/mach/hurd/unlink.c
+++ b/sysdeps/mach/hurd/unlink.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,2002 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
@@ -31,7 +31,7 @@ __unlink (name)
   file_t dir;
   const char *file;
 
-  dir = __file_name_split (name, (char **) &file);
+  dir = __directory_name_split (name, (char **) &file);
   if (dir == MACH_PORT_NULL)
     return -1;