84b277
From 1949cb6f5ff8cccecfab4eca5a4e697d5c55dbdf Mon Sep 17 00:00:00 2001
84b277
From: "Richard W.M. Jones" <rjones@redhat.com>
84b277
Date: Wed, 5 Nov 2014 10:50:01 +0100
84b277
Subject: [PATCH] udev: Fix parsing of udev.event-timeout kernel parameter
84b277
84b277
(rhel-only, will be fixed in upstream differently)
84b277
84b277
Related: #1154778
84b277
---
84b277
 src/udev/udevd.c | 2 +-
84b277
 1 file changed, 1 insertion(+), 1 deletion(-)
84b277
84b277
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
84b277
index 6241549..8d3f64f 100644
84b277
--- a/src/udev/udevd.c
84b277
+++ b/src/udev/udevd.c
84b277
@@ -889,7 +889,7 @@ static void kernel_cmdline_options(struct udev *udev)
84b277
                 } else if (startswith(opt, "udev.exec-delay=")) {
84b277
                         exec_delay = strtoul(opt + 16, NULL, 0);
84b277
                 } else if (startswith(opt, "udev.event-timeout=")) {
84b277
-                        event_timeout = strtoul(opt + 16, NULL, 0);
84b277
+                        event_timeout = strtoul(opt + 19, NULL, 0);
84b277
                 }
84b277
 
84b277
                 free(s);