summaryrefslogtreecommitdiff
path: root/libgpo
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 /libgpo
parentecc822faf8f1e2f34573aabef381a846b08afeec (diff)
downloadsamba-3e8a6e576007892bab7d59367c5199a41fb1506d.tar.gz
samba-3e8a6e576007892bab7d59367c5199a41fb1506d.tar.bz2
samba-3e8a6e576007892bab7d59367c5199a41fb1506d.zip
build: Remove sys_closedir wrapper
Diffstat (limited to 'libgpo')
-rw-r--r--libgpo/gpext/gpext.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgpo/gpext/gpext.c b/libgpo/gpext/gpext.c
index 6177bdc710..6b23450987 100644
--- a/libgpo/gpext/gpext.c
+++ b/libgpo/gpext/gpext.c
@@ -508,7 +508,7 @@ static NTSTATUS gp_glob_ext_list(TALLOC_CTX *mem_ctx,
p = strrchr(dirent->d_name, '.');
if (!p) {
- sys_closedir(dir);
+ closedir(dir);
return NT_STATUS_NO_MEMORY;
}
@@ -523,12 +523,12 @@ static NTSTATUS gp_glob_ext_list(TALLOC_CTX *mem_ctx,
if (!add_string_to_array(mem_ctx, name, ext_list,
(int *)ext_list_len)) {
- sys_closedir(dir);
+ closedir(dir);
return NT_STATUS_NO_MEMORY;
}
}
- sys_closedir(dir);
+ closedir(dir);
return NT_STATUS_OK;
}