mirror of
https://github.com/systemd/systemd.git
synced 2025-03-22 06:50:18 +03:00
[PATCH] udevstart fix
Sorry, udevstart needs a small cleanup after my recent copy/pastes.
This commit is contained in:
parent
08b5da6a03
commit
5df33ccd8e
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user