diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:35:58 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:35:58 +0100 |
commit | e8cda43e171c1aa8f4b858228e715290d400691c (patch) | |
tree | 38f8fec8ef93ba577920e3d8abf276771ba6caf5 /source3/modules | |
parent | dbda9adfaf388f62cf359ea728ae303d81df81a9 (diff) | |
download | samba-e8cda43e171c1aa8f4b858228e715290d400691c.tar.gz samba-e8cda43e171c1aa8f4b858228e715290d400691c.tar.bz2 samba-e8cda43e171c1aa8f4b858228e715290d400691c.zip |
Move sys_symlink() to libreplace.
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_default.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index f47ff8fdfc..37b0fc392b 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -869,7 +869,7 @@ static int vfswrap_symlink(vfs_handle_struct *handle, const char *oldpath, cons int result; START_PROFILE(syscall_symlink); - result = sys_symlink(oldpath, newpath); + result = symlink(oldpath, newpath); END_PROFILE(syscall_symlink); return result; } @@ -879,7 +879,7 @@ static int vfswrap_readlink(vfs_handle_struct *handle, const char *path, char * int result; START_PROFILE(syscall_readlink); - result = sys_readlink(path, buf, bufsiz); + result = readlink(path, buf, bufsiz); END_PROFILE(syscall_readlink); return result; } |