diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2006-12-08 09:48:53 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2006-12-08 09:48:53 +0100 |
commit | 9dd0c2573b1e3a6f18356e4db6cee5e5329ecb67 (patch) | |
tree | 70dcbc629bdc600aa48e8dab838d2a9f29cd697c /udev_config.c | |
parent | 768cd81b7db0737240c759f59edd6d3399e1707a (diff) |
rename config "filename" to "dir"
Diffstat (limited to 'udev_config.c')
-rw-r--r-- | udev_config.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/udev_config.c b/udev_config.c index 3d18e59796..3f226b9d7c 100644 --- a/udev_config.c +++ b/udev_config.c @@ -31,7 +31,7 @@ /* global variables */ char udev_root[PATH_SIZE]; char udev_config_filename[PATH_SIZE]; -char udev_rules_filename[PATH_SIZE]; +char udev_rules_dir[PATH_SIZE]; int udev_log_priority; int udev_run; @@ -145,8 +145,8 @@ static int parse_config_file(void) } if (strcasecmp(variable, "udev_rules") == 0) { - strlcpy(udev_rules_filename, value, sizeof(udev_rules_filename)); - remove_trailing_chars(udev_rules_filename, '/'); + strlcpy(udev_rules_dir, value, sizeof(udev_rules_dir)); + remove_trailing_chars(udev_rules_dir, '/'); continue; } @@ -166,7 +166,7 @@ void udev_config_init(void) strcpy(udev_root, UDEV_ROOT); strcpy(udev_config_filename, UDEV_CONFIG_FILE); - strcpy(udev_rules_filename, UDEV_RULES_FILE); + strcpy(udev_rules_dir, UDEV_RULES_DIR); udev_log_priority = LOG_ERR; udev_run = 1; @@ -195,6 +195,6 @@ void udev_config_init(void) dbg("UDEV_CONFIG_FILE='%s'", udev_config_filename); dbg("udev_root='%s'", udev_root); - dbg("udev_rules='%s'", udev_rules_filename); + dbg("udev_rules='%s'", udev_rules_dir); dbg("udev_log=%d", udev_log_priority); } |