From 4cb7f2203bbbb6d45516f7d3d6f7a27caf156fa6 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 3 Jul 2013 00:12:23 +0200 Subject: add note about debug output --- udev-block-notify.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/udev-block-notify.c b/udev-block-notify.c index c9f5b1c..0db489d 100644 --- a/udev-block-notify.c +++ b/udev-block-notify.c @@ -66,7 +66,11 @@ int main (int argc, char ** argv) { struct udev *udev = NULL; unsigned short int i, j, major, minor; - printf("%s: %s v%s (compiled: " __DATE__ ", " __TIME__ ")\n", argv[0], PROGNAME, VERSION); + printf("%s: %s v%s (compiled: " __DATE__ ", " __TIME__ +#if DEBUG + ", with debug output" +#endif + ")\n", argv[0], PROGNAME, VERSION); if(!notify_init("Udev-Block-Notification")) { fprintf(stderr, "%s: Can't create notify.\n", argv[0]); -- cgit v1.2.3-54-g00ecf