* [PATCH] udevstart fix
@ 2004-04-02 9:25 Kay Sievers
2004-04-02 17:10 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Kay Sievers @ 2004-04-02 9:25 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 81 bytes --]
Sorry, udevstart needs a small cleanup after my recent copy/pastes.
thanks,
Kay
[-- Attachment #2: 01-udevstart-bug.patch --]
[-- Type: text/plain, Size: 398 bytes --]
===== udevstart.c 1.6 vs edited =====
--- 1.6/udevstart.c Thu Apr 1 04:14:35 2004
+++ edited/udevstart.c Fri Apr 2 11:16:38 2004
@@ -62,8 +62,8 @@
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) {
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-02 17:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-02 9:25 [PATCH] udevstart fix Kay Sievers
2004-04-02 17:10 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).