diff options
author | 2014-11-04 23:45:15 +0000 | |
---|---|---|
committer | 2014-11-23 13:23:14 -0500 | |
commit | 2db010dc58b929a583f9d54a404a1beaa37d3c3b (patch) | |
tree | d9f7fd7a604ff6b388711134b651a2ca198373f8 | |
parent | units: make systemd-journald.service Type=notify (diff) | |
download | systemd-2db010dc58b929a583f9d54a404a1beaa37d3c3b.tar.gz systemd-2db010dc58b929a583f9d54a404a1beaa37d3c3b.tar.bz2 systemd-2db010dc58b929a583f9d54a404a1beaa37d3c3b.zip |
udev: Fix parsing of udev.event-timeout kernel parameter.
-rw-r--r-- | src/udev/udevd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 2e6c71352..193702cd2 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -994,9 +994,9 @@ static void kernel_cmdline_options(struct udev *udev) { if (r < 0) log_warning("Invalid udev.exec-delay ignored: %s", opt + 16); } else if (startswith(opt, "udev.event-timeout=")) { - r = safe_atou64(opt + 16, &arg_event_timeout_usec); + r = safe_atou64(opt + 19, &arg_event_timeout_usec); if (r < 0) { - log_warning("Invalid udev.event-timeout ignored: %s", opt + 16); + log_warning("Invalid udev.event-timeout ignored: %s", opt + 19); break; } arg_event_timeout_usec *= USEC_PER_SEC; |