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