From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Fri, 02 Apr 2004 09:25:40 +0000 Subject: [PATCH] udevstart fix Message-Id: <20040402092540.GA16642@vrfy.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="9jxsPFA5p3P2qPhR" List-Id: To: linux-hotplug@vger.kernel.org --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sorry, udevstart needs a small cleanup after my recent copy/pastes. thanks, Kay --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="01-udevstart-bug.patch" ===== 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) { --9jxsPFA5p3P2qPhR-- ------------------------------------------------------- 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=1470&alloc_id=3638&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