libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbol
[kai/samba.git] / libgpo / gpext / gpext.c
index 640aae6aaf25edb3de0c9dbc1cf643e1f26bc72c..42ab6223312cddd5d79f82fb88663b3f379afb53 100644 (file)
@@ -495,7 +495,7 @@ static NTSTATUS gp_glob_ext_list(TALLOC_CTX *mem_ctx,
        dir = sys_opendir(modules_path(talloc_tos(), 
                                       SAMBA_SUBSYSTEM_GPEXT));
        if (!dir) {
-               return map_nt_error_from_unix(errno);
+               return map_nt_error_from_unix_common(errno);
        }
 
        while ((dirent = sys_readdir(dir))) {