[PATCH] udevstart fix

Sorry, udevstart needs a small cleanup after my recent copy/pastes.
This commit is contained in:
kay.sievers@vrfy.org 2004-04-02 16:58:57 -08:00 committed by Greg KH
parent 08b5da6a03
commit 5df33ccd8e

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) {