LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File petitboot-handle-new-udev.patch of Package petitboot (Project DISCONTINUED:openSUSE:11.1)

---
 lib/petitboot-device.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/lib/petitboot-device.c
+++ b/lib/petitboot-device.c
@@ -491,8 +491,8 @@ int pb_device_init(const struct pb_callb
 	pb_poll_device_thread_exit = 0;
 
 	/* invoke udevtrigger to get udev events */
-	if (system("udevtrigger"))
-		pb_log("ERROR: udevtrigger\n");
+	if (system("udevadm trigger"))
+		pb_log("ERROR: udevadm trigger failed\n");
 
 	pb_log("device init - done\n");