summaryrefslogtreecommitdiff
path: root/dev_d.c
diff options
context:
space:
mode:
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;