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