diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-07-21 22:31:58 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-07-21 22:31:58 +0200 |
commit | aa0b70530c1ab116216e53641f4ec3f481d654fe (patch) | |
tree | 74c77af2baaa8c0c845b09977a477695a10b3f00 | |
parent | e8c335b60a69d150140cb2ea7c3e78a8ab2cca29 (diff) |
use "change" instead of "online" events
The kernel driver may send "change" to signify a device state
change and udev can possibly recreate symlinks.
-rw-r--r-- | udev_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_device.c b/udev_device.c index 3c4ac913ed..ed41c856e5 100644 --- a/udev_device.c +++ b/udev_device.c @@ -147,7 +147,7 @@ int udev_device_event(struct udev_rules *rules, struct udevice *udev) /* add device node */ if (major(udev->devt) != 0 && - (strcmp(udev->action, "add") == 0 || strcmp(udev->action, "online") == 0)) { + (strcmp(udev->action, "add") == 0 || strcmp(udev->action, "change") == 0)) { struct udevice *udev_old; dbg("device node add '%s'", udev->dev->devpath); |