aboutsummaryrefslogtreecommitdiffstats
path: root/udev-block-notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev-block-notify.c')
-rw-r--r--udev-block-notify.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/udev-block-notify.c b/udev-block-notify.c
index 947b212..19c5d31 100644
--- a/udev-block-notify.c
+++ b/udev-block-notify.c
@@ -103,7 +103,9 @@ int main (int argc, char ** argv) {
devnum = udev_device_get_devnum(dev);
major = major(devnum);
minor = minor(devnum);
-
+#if DEBUG
+ printf("%s: Processing device %d:%d\n", argv[0], major, minor);
+#endif
/* make sure we have allocated memory */
if (maxmajor < major) {
notification = realloc(notification, (major + 1) * sizeof(size_t));