loader: Fix erroneous call to loader_log previously added
authorJon Ashburn <jon@lunarg.com>
Thu, 17 Dec 2015 21:30:21 +0000 (14:30 -0700)
committerJon Ashburn <jon@lunarg.com>
Thu, 17 Dec 2015 21:30:21 +0000 (14:30 -0700)
loader/loader.c

index 7c47864..8844df1 100644 (file)
@@ -2591,7 +2591,7 @@ static void loader_remove_layer_lib(
     }
 
     if (idx == loader.loaded_layer_lib_count) {
-        loader_log(VK_DEBUG_REPORT_ERROR_BIT_EXT, 0,
+        loader_log(inst, VK_DEBUG_REPORT_ERROR_BIT_EXT, 0,
                    "Unable to unref library %s", layer_prop->lib_name);
         return;
     }