From 5df33ccd8e03043597ff2b1777bbf5219e7080e3 Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Fri, 2 Apr 2004 16:58:57 -0800 Subject: [PATCH] [PATCH] udevstart fix Sorry, udevstart needs a small cleanup after my recent copy/pastes. --- udevstart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/udevstart.c b/udevstart.c index 7e19c379..5e6606d5 100644 --- a/udevstart.c +++ b/udevstart.c @@ -62,8 +62,8 @@ static void udev_exec(const char *path, const char* subsystem) char nosleep[] = "UDEV_NO_SLEEP=1"; char *env[] = { action, devpath, nosleep, NULL }; - strcpy(action, "DEVPATH=%s"); - strfieldcat(action, path); + strcpy(devpath, "DEVPATH="); + strfieldcat(devpath, path); pid = fork(); switch (pid) { -- 2.39.5