summaryrefslogtreecommitdiffstats
path: root/tools/gen-doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gen-doc.c')
-rw-r--r--tools/gen-doc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen-doc.c b/tools/gen-doc.c
index 86d6ff9..f555a5f 100644
--- a/tools/gen-doc.c
+++ b/tools/gen-doc.c
@@ -136,7 +136,7 @@ int main(int argc, char *argv[])
}
else {
name = argv[1];
- camera = uca_plugin_manager_new_camera (manager, name, &error);
+ camera = uca_plugin_manager_get_camera (manager, name, &error);
}
if (camera == NULL) {