summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2017-07-31 08:11:08 +0200
committerMarcus Meissner <marcus@jet.franken.de>2017-07-31 08:11:28 +0200
commit2ea49c29fac5e3d519f96f71bbf146e9de29239c (patch)
treeb6731bd9ba80b0853f1d1a753b42b05e0e8edd20 /examples
parentc4695b2d87215e8dd77f08f9bef4694996156f3e (diff)
downloadlibgphoto2-2ea49c29fac5e3d519f96f71bbf146e9de29239c.tar.gz
also log the domain
Diffstat (limited to 'examples')
-rw-r--r--examples/sample-afl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sample-afl.c b/examples/sample-afl.c
index 8d3c5b9b6..53def6759 100644
--- a/examples/sample-afl.c
+++ b/examples/sample-afl.c
@@ -13,7 +13,7 @@
static void errordumper(GPLogLevel level, const char *domain, const char *str,
void *data) {
/* Do not log ... but let it appear here so we discover debug paths */
- fprintf(stderr, "%s\n", str);
+ fprintf(stderr, "%s:%s\n", domain, str);
}
static int