work around AIX6.1 name space pollution rename mod_name to module_name
[samba.git] / source4 / lib / com / tables.c
index ed21da7cd809750b12a8dbd839f25756ee201810..f56e1c3f1887671ff05c20cf79e2b8ea4d392c99 100644 (file)
@@ -51,16 +51,16 @@ static struct IUnknown *get_com_class_running(const struct GUID *clsid)
 
 static struct IUnknown *get_com_class_so(TALLOC_CTX *mem_ctx, const struct GUID *clsid)
 {
-       char *mod_name;
+       char *module_name;
        char *clsid_str;
        void *mod;
        get_class_object_function f;
 
        clsid_str = GUID_string(mem_ctx, clsid);
-       mod_name = talloc_asprintf(mem_ctx, "%s.so", clsid_str);
+       module_name = talloc_asprintf(mem_ctx, "%s.so", clsid_str);
        talloc_free(clsid_str);
 
-       mod = dlopen(mod_name, 0);
+       mod = dlopen(module_name, 0);
 
        if (!mod) {
                return NULL;