[PATCH] udevstart fix

Sorry, udevstart needs a small cleanup after my recent copy/pastes.
This commit is contained in:
kay.sievers@vrfy.org
2005-04-26 21:35:14 -07:00
committed by Greg KH
parent 08b5da6a03
commit 5df33ccd8e
+2 -2
View File
@@ -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) {