[systemd-devel] [PATCH v2] udev: Fix parsing of udev.event-timeout kernel parameter.

David Herrmann dh.herrmann at gmail.com
Wed Nov 5 03:51:20 PST 2014


Hi

On Wed, Nov 5, 2014 at 12:45 AM, Richard W.M. Jones <rjones at redhat.com> wrote:
> ---
>  src/udev/udevd.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied!

Thanks
David

> diff --git a/src/udev/udevd.c b/src/udev/udevd.c
> index 2e6c713..193702c 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;
> --
> 2.1.0
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list