diff --git a/examples/lunkwill-canon-capture.c b/examples/lunkwill-canon-capture.c index 829c74ba7..c9045e33d 100644 --- a/examples/lunkwill-canon-capture.c +++ b/examples/lunkwill-canon-capture.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -24,7 +25,10 @@ static void errordumper(GPLogLevel level, const char *domain, const char *str, void *data) { - fprintf(stdout, "%s\n", str); + struct timeval tv; + + gettimeofday (&tv, NULL); + fprintf(stdout, "%d.%d: %s\n", tv.tv_sec, tv.tv_usec, str); } /* This seems to have no effect on where images go