summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-05-10 16:09:19 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-05-10 16:09:19 +0200
commitd667d891e174cb353f335e2edbceed5e935206e3 (patch)
tree89023466ec110edf1ab6ea77e0f8b974f95f7d35 /test
parenta7dc73c550e834f789ed695c6f3fea1fe09d4dd4 (diff)
downloaduca-d667d891e174cb353f335e2edbceed5e935206e3.tar.gz
uca-d667d891e174cb353f335e2edbceed5e935206e3.tar.bz2
uca-d667d891e174cb353f335e2edbceed5e935206e3.tar.xz
uca-d667d891e174cb353f335e2edbceed5e935206e3.zip
Print more meaningful error message
Diffstat (limited to 'test')
-rw-r--r--test/grab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/grab.c b/test/grab.c
index bcabd1a..12290de 100644
--- a/test/grab.c
+++ b/test/grab.c
@@ -43,7 +43,7 @@ int main(int argc, char *argv[])
camera = uca_camera_new("pco", &error);
if (camera == NULL) {
- g_print("Couldn't initialize camera\n");
+ g_print("Error during initialization: %s\n", error->message);
return 1;
}