summaryrefslogtreecommitdiff
path: root/dev_d.c
diff options
context:
space:
mode:
authorsjoerd@spring.luon.net <sjoerd@spring.luon.net>2004-04-08 18:48:56 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:15 -0700
commit4b06c852cb7da274b50f665a75367f901d8064ae (patch)
tree1452478c34cf0c0d1656dd58bff3ef5dc3d4196f /dev_d.c
parent1321258af575f1e704aedfb3b6ed8aa341632a50 (diff)
[PATCH] DEVNODE -> DEVNAME transition fixes
It seems that the transition from DEVNODE to DEVNAME wasn't done everywhere. This broke udev_dbus for me. Attached patch does the transition in the places it wasn't done yet.
Diffstat (limited to 'dev_d.c')
-rw-r--r--dev_d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev_d.c b/dev_d.c
index 483ceb4b1b..81c7013315 100644
--- a/dev_d.c
+++ b/dev_d.c
@@ -11,8 +11,8 @@
/*
* This essentially emulates the following shell script logic in C:
* DIR="/etc/dev.d"
- * export DEVNODE="whatever_dev_name_udev_just_gave"
- * for I in "${DIR}/$DEVNODE/"*.dev "${DIR}/$1/"*.dev "${DIR}/default/"*.dev ; do
+ * export DEVNAME="whatever_dev_name_udev_just_gave"
+ * for I in "${DIR}/$DEVNAME/"*.dev "${DIR}/$1/"*.dev "${DIR}/default/"*.dev ; do
* if [ -f $I ]; then $I $1 ; fi
* done
* exit 1;