summaryrefslogtreecommitdiff
path: root/namedev_parse.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-12-03 08:13:11 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:05 -0700
commit3836a3c49a72b9ee0b092725628f30839f100c4f (patch)
tree1dde205597cba42a45583c9d4c6dad1541f5aab9 /namedev_parse.c
parent9f1da3613897346b6a45e1f7a706d2315bc0f420 (diff)
[PATCH] get rid of the majority of the debug environment variables.
Now there are only 3 valid environment test variables. The rest can be specified with the config file.
Diffstat (limited to 'namedev_parse.c')
-rw-r--r--namedev_parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/namedev_parse.c b/namedev_parse.c
index bd23867e18..a6a7d4b62e 100644
--- a/namedev_parse.c
+++ b/namedev_parse.c
@@ -346,11 +346,11 @@ int namedev_init_permissions(void)
int retval = 0;
struct config_device dev;
- fd = fopen(udev_permission_filename, "r");
+ fd = fopen(udev_permissions_filename, "r");
if (fd != NULL) {
- dbg("reading '%s' as permissions file", udev_permission_filename);
+ dbg("reading '%s' as permissions file", udev_permissions_filename);
} else {
- dbg("can't open '%s' as permissions file", udev_permission_filename);
+ dbg("can't open '%s' as permissions file", udev_permissions_filename);
return -ENODEV;
}