summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2014-11-04 23:45:15 +0000
committerDavid Herrmann <dh.herrmann@gmail.com>2014-11-05 12:58:10 +0100
commitf671774f52838d35d78e62ddcb781b5b65b3373f (patch)
tree79dcb32446a72c24a3b80133b85a90bfd3c47964 /src/udev
parent01acf6c3b7390e8c47b7a5cd7cae4bcbd2846634 (diff)
udev: Fix parsing of udev.event-timeout kernel parameter.
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udevd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 2e6c71352f..193702cd28 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;