linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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

* Re: [PATCH] udevstart fix
  2004-04-02  9:25 [PATCH] udevstart fix Kay Sievers
@ 2004-04-02 17:10 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2004-04-02 17:10 UTC (permalink / raw)
  To: linux-hotplug

On Fri, Apr 02, 2004 at 11:25:40AM +0200, Kay Sievers wrote:
> 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_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ 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).