Skip to contentSkip to conversation

udevstart fix

PATCH Applied Kay Sievers 2 participants 2 messages Apr 2, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 udevstart fix

Sorry, udevstart needs a small cleanup after my recent copy/pastes.

thanks,
Kay

===== udevstart.c 1.6 vs edited =====

udevstart.c +2 -2
@@ -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) {
Applied
#1 lore raw
Quoted 1 line · Kay Sievers

Sorry, udevstart needs a small cleanup after my recent copy/pastes.

Applied, thanks.

greg k-h

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel