summaryrefslogtreecommitdiffstats
path: root/bin/tools
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tools')
-rw-r--r--bin/tools/benchmark.c4
-rw-r--r--bin/tools/grab.c6
-rw-r--r--bin/tools/info.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/bin/tools/benchmark.c b/bin/tools/benchmark.c
index f42e841..a0bed7e 100644
--- a/bin/tools/benchmark.c
+++ b/bin/tools/benchmark.c
@@ -339,7 +339,7 @@ main (int argc, char *argv[])
g_option_context_add_main_entries (context, entries, NULL);
if (!g_option_context_parse (context, &argc, &argv, &error)) {
- g_print ("Failed parsing arguments: %s\n", error->message);
+ g_printerr ("Failed parsing arguments: %s\n", error->message);
goto cleanup_manager;
}
@@ -359,7 +359,7 @@ main (int argc, char *argv[])
camera = uca_common_get_camera (manager, argv[argc - 1], &error);
if (camera == NULL) {
- g_print ("Initialization: %s\n", error->message);
+ g_printerr ("Initialization: %s\n", error->message);
goto cleanup_manager;
}
diff --git a/bin/tools/grab.c b/bin/tools/grab.c
index 97a5baa..dbe826c 100644
--- a/bin/tools/grab.c
+++ b/bin/tools/grab.c
@@ -293,21 +293,21 @@ main (int argc, char *argv[])
}
if (opts.n_frames < 0) {
- g_print ("You must specify the number of acquired frames with -n/--num-frames.\n");
+ g_printerr ("You must specify the number of acquired frames with -n/--num-frames.\n");
goto cleanup_manager;
}
camera = uca_common_get_camera (manager, argv[argc - 1], &error);
if (camera == NULL) {
- g_print ("Error during initialization: %s\n", error->message);
+ g_printerr ("Error during initialization: %s\n", error->message);
goto cleanup_manager;
}
error = record_frames (camera, &opts);
if (error != NULL)
- g_print ("Error: %s\n", error->message);
+ g_printerr ("Error: %s\n", error->message);
g_option_context_free (context);
g_object_unref (camera);
diff --git a/bin/tools/info.c b/bin/tools/info.c
index 90f2057..19cd230 100644
--- a/bin/tools/info.c
+++ b/bin/tools/info.c
@@ -131,7 +131,7 @@ int main(int argc, char *argv[])
}
if (camera == NULL) {
- g_print("Error during initialization: %s\n", error->message);
+ g_printerr ("Error during initialization: %s\n", error->message);
print_usage();
return 1;
}