From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] udevstart fix
Date: Fri, 02 Apr 2004 09:25:40 +0000 [thread overview]
Message-ID: <20040402092540.GA16642@vrfy.org> (raw)
[-- 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) {
next reply other threads:[~2004-04-02 9:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-02 9:25 Kay Sievers [this message]
2004-04-02 17:10 ` [PATCH] udevstart fix Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040402092540.GA16642@vrfy.org \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).