diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-05-10 16:09:19 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-05-10 16:09:19 +0200 |
commit | d667d891e174cb353f335e2edbceed5e935206e3 (patch) | |
tree | 89023466ec110edf1ab6ea77e0f8b974f95f7d35 /test/grab.c | |
parent | a7dc73c550e834f789ed695c6f3fea1fe09d4dd4 (diff) | |
download | libuca-d667d891e174cb353f335e2edbceed5e935206e3.tar.gz libuca-d667d891e174cb353f335e2edbceed5e935206e3.tar.bz2 libuca-d667d891e174cb353f335e2edbceed5e935206e3.tar.xz libuca-d667d891e174cb353f335e2edbceed5e935206e3.zip |
Print more meaningful error message
Diffstat (limited to 'test/grab.c')
-rw-r--r-- | test/grab.c | 2 |
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; } |