summaryrefslogtreecommitdiffstats
path: root/udev-block-notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev-block-notify.c')
-rw-r--r--udev-block-notify.c6
1 files changed, 5 insertions, 1 deletions
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]);