summaryrefslogtreecommitdiffstats
path: root/tools/grab.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/grab.c')
-rw-r--r--tools/grab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/grab.c b/tools/grab.c
index 1518997..b020279 100644
--- a/tools/grab.c
+++ b/tools/grab.c
@@ -75,7 +75,7 @@ int main(int argc, char *argv[])
}
manager = uca_plugin_manager_new ();
- camera = uca_plugin_manager_get_camera (manager, argv[1], &error);
+ camera = uca_plugin_manager_get_camera (manager, argv[1], &error, NULL);
if (camera == NULL) {
g_print("Error during initialization: %s\n", error->message);