summaryrefslogtreecommitdiffstats
path: root/bin/tools/info.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tools/info.c')
-rw-r--r--bin/tools/info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/tools/info.c b/bin/tools/info.c
index b2ac0c8..42e73f0 100644
--- a/bin/tools/info.c
+++ b/bin/tools/info.c
@@ -100,8 +100,8 @@ int main(int argc, char *argv[])
manager = uca_plugin_manager_new ();
if (argc < 2) {
- name = g_strdup ("Basic camera");
- camera = g_object_new (UCA_TYPE_CAMERA, NULL);
+ print_usage();
+ return 0;
}
else {
name = argv[1];