summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 13:08:27 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:09 +0200
commit3e8a6e576007892bab7d59367c5199a41fb1506d (patch)
tree297451b0b939f545185dea56f40ca28315ac90d5 /source3/modules
parentecc822faf8f1e2f34573aabef381a846b08afeec (diff)
downloadsamba-3e8a6e576007892bab7d59367c5199a41fb1506d.tar.gz
samba-3e8a6e576007892bab7d59367c5199a41fb1506d.tar.bz2
samba-3e8a6e576007892bab7d59367c5199a41fb1506d.zip
build: Remove sys_closedir wrapper
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_default.c2
-rw-r--r--source3/modules/vfs_netatalk.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index d7a85beff9..965c6a26b8 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -455,7 +455,7 @@ static int vfswrap_closedir(vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp)
int result;
START_PROFILE(syscall_closedir);
- result = sys_closedir(dirp);
+ result = closedir(dirp);
END_PROFILE(syscall_closedir);
return result;
}
diff --git a/source3/modules/vfs_netatalk.c b/source3/modules/vfs_netatalk.c
index 6a74b3b1a1..4e5df48ac8 100644
--- a/source3/modules/vfs_netatalk.c
+++ b/source3/modules/vfs_netatalk.c
@@ -170,7 +170,7 @@ static void atalk_rrmdir(TALLOC_CTX *ctx, char *path)
atalk_unlink_file(dpath);
}
- sys_closedir(dir);
+ closedir(dir);
}
/* Disk operations */