diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2014-11-04 23:45:15 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-11-07 08:28:32 -0500 |
commit | 7be58d7b4810d0ae0a5bc95be0a427ff91179f73 (patch) | |
tree | 4295fa6adbb0fd3a6bbb38bebac7dee758cd8887 /src/udev | |
parent | c45f1f900283c5d879bae573efa435f1af177007 (diff) |
udev: Fix parsing of udev.event-timeout kernel parameter.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev')
-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 a74906aa62..304b0fa4c7 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -1021,9 +1021,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; |