diff options
author | Scott James Remnant <scott@ubuntu.com> | 2009-02-23 17:46:00 +0000 |
---|---|---|
committer | Scott James Remnant <scott@ubuntu.com> | 2009-02-23 17:46:00 +0000 |
commit | 9ce462721a02e38c15e4cdeff7dfc98eeb56224a (patch) | |
tree | cdeffd30a361308b232ab755f04b21c3b9646344 /udev/udev-watch.c | |
parent | 047f88bca31f364253fe230a1c2ec7fbc43c7fc3 (diff) |
Put a log message in a more sensible place.
Diffstat (limited to 'udev/udev-watch.c')
-rw-r--r-- | udev/udev-watch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/udev/udev-watch.c b/udev/udev-watch.c index 2d672e211c..8d6cef6ac8 100644 --- a/udev/udev-watch.c +++ b/udev/udev-watch.c @@ -145,6 +145,7 @@ void udev_watch_begin(struct udev *udev, struct udev_device *dev) if (inotify_fd < 0 || major(udev_device_get_devnum(dev)) == 0) return; + info(udev, "adding watch on '%s'\n", udev_device_get_devnode(dev)); wd = inotify_add_watch(inotify_fd, udev_device_get_devnode(dev), IN_CLOSE_WRITE); if (wd < 0) { err(udev, "inotify_add_watch(%d, %s, %o) failed: %m\n", |