chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
08b5da6
)
[PATCH] udevstart fix
author
kay.sievers@vrfy.org
<kay.sievers@vrfy.org>
Sat, 3 Apr 2004 00:58:57 +0000
(16:58 -0800)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:35:14 +0000
(21:35 -0700)
Sorry, udevstart needs a small cleanup after my recent copy/pastes.
udevstart.c
patch
|
blob
|
history
diff --git
a/udevstart.c
b/udevstart.c
index 7e19c379a503ed8ff7f2885dd419ffd236f3157b..5e6606d535ac4fc5de658a3f3c5b2f08ffb35ee0 100644
(file)
--- a/
udevstart.c
+++ b/
udevstart.c
@@
-62,8
+62,8
@@
static void udev_exec(const char *path, const char* subsystem)
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) {