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
(parent:
dc5cecf
)
[PATCH] change UDEV_SYSFS_PATH environment variable due to libsysfs change.
author
greg@kroah.com
<greg@kroah.com>
Wed, 12 Nov 2003 15:23:39 +0000
(07:23 -0800)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:06:23 +0000
(21:06 -0700)
test/label_test
patch
|
blob
|
history
udev.c
patch
|
blob
|
history
diff --git
a/test/label_test
b/test/label_test
index f2208cbbdd267ef7276eee41aa329ff3f5a8fa6b..f06c416130eb6e7a87dfbfca0becf9a717ab2149 100644
(file)
--- a/
test/label_test
+++ b/
test/label_test
@@
-1,7
+1,7
@@
#!/bin/bash
export UDEV_TEST=yes
-export
UDEV_
SYSFS_PATH=$PWD/sys/
+export SYSFS_PATH=$PWD/sys/
export UDEV_CONFIG_DIR=$PWD/
export UDEV_ROOT=$PWD/udev/
export UDEV_DB=udev.tdb
diff --git
a/udev.c
b/udev.c
index 8746b9a8102820de64b0d72ec3bd882b8ed83ee0..56dab1f8323227b7fa7028914d1555a251f18710 100644
(file)
--- a/
udev.c
+++ b/
udev.c
@@
-86,7
+86,7
@@
static void get_dirs(void)
temp = getenv("UDEV_TEST");
if (temp != NULL) {
/* hm testing is happening, use the specified values, if they are present */
- temp = getenv("
UDEV_
SYSFS_PATH");
+ temp = getenv("SYSFS_PATH");
if (temp)
strncpy(sysfs_path, temp, sizeof(sysfs_path));
temp = getenv("UDEV_CONFIG_DIR");