From 3e8a6e576007892bab7d59367c5199a41fb1506d Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 28 Mar 2012 13:08:27 +1100 Subject: build: Remove sys_closedir wrapper --- libgpo/gpext/gpext.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libgpo') 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; } -- cgit