diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-04-02 16:58:57 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:35:14 -0700 |
commit | 5df33ccd8e03043597ff2b1777bbf5219e7080e3 (patch) | |
tree | a68d62e9c91bcc1d5e899ff25d7b35e0caec910b /udevstart.c | |
parent | 08b5da6a030f86810c100e465d9bfaa5113ba34d (diff) |
[PATCH] udevstart fix
Sorry, udevstart needs a small cleanup after my recent copy/pastes.
Diffstat (limited to 'udevstart.c')
-rw-r--r-- | udevstart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udevstart.c b/udevstart.c index 7e19c379a5..5e6606d535 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) { |