summaryrefslogtreecommitdiff
path: root/udev_config.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-12 22:36:32 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:53:17 -0700
commite5e322bc627a07d29a07e08f7c96bd644a3ae057 (patch)
tree48df4dfb03f3e2ea5ddd8dad5686cece3530b35e /udev_config.c
parente6764498e7592f216a1895eacc485448fa4a1660 (diff)
[PATCH] rename namedev_dev to udev_rule
Diffstat (limited to 'udev_config.c')
-rw-r--r--udev_config.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/udev_config.c b/udev_config.c
index 26ecf6291c..77ac38a791 100644
--- a/udev_config.c
+++ b/udev_config.c
@@ -21,9 +21,6 @@
*
*/
-/* define this to enable parsing debugging */
-/* #define DEBUG_PARSER */
-
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
@@ -38,7 +35,7 @@
#include "udev_utils.h"
#include "udev_version.h"
#include "logging.h"
-#include "namedev.h"
+#include "udev_rules.h"
/* global variables */
char sysfs_path[PATH_SIZE];
@@ -134,14 +131,14 @@ static int parse_config_file(void)
strlcpy(line, bufline, count);
temp = line;
- dbg_parse("read '%s'", temp);
+ dbg("read '%s'", temp);
retval = parse_get_pair(&temp, &variable, &value);
if (retval != 0)
info("%s:%d:%Zd: error parsing '%s'",
udev_config_filename, lineno, temp-line, temp);
- dbg_parse("variable='%s', value='%s'", variable, value);
+ dbg("variable='%s', value='%s'", variable, value);
if (strcasecmp(variable, "udev_root") == 0) {
strlcpy(udev_root, value, sizeof(udev_root));