diff options
author | Kay Sievers <kay@vrfy.org> | 2012-10-28 04:04:22 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-10-28 04:04:22 +0100 |
commit | ff944daa019c1101d6464412e6682732ec11143a (patch) | |
tree | 37623f18e4e7c7f65c5d3d7d2a8be9bef21798d9 /src/libudev | |
parent | a8f454e8a387eaf752a64955dcef8cbbae1b77ed (diff) |
udev: get rid of SYSCONFDIR
Diffstat (limited to 'src/libudev')
-rw-r--r-- | src/libudev/libudev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libudev/libudev.c b/src/libudev/libudev.c index af36cc4452..72a372c632 100644 --- a/src/libudev/libudev.c +++ b/src/libudev/libudev.c @@ -120,7 +120,7 @@ _public_ struct udev *udev_new(void) udev->log_priority = LOG_ERR; udev_list_init(udev, &udev->properties_list, true); - f = fopen(SYSCONFDIR "/udev/udev.conf", "re"); + f = fopen("/etc/udev/udev.conf", "re"); if (f != NULL) { char line[UTIL_LINE_SIZE]; int line_nr = 0; @@ -144,7 +144,7 @@ _public_ struct udev *udev_new(void) /* split key/value */ val = strchr(key, '='); if (val == NULL) { - udev_err(udev, "missing <key>=<value> in " SYSCONFDIR "/udev/udev.conf[%i]; skip line\n", line_nr); + udev_err(udev, "missing <key>=<value> in /etc/udev/udev.conf[%i]; skip line\n", line_nr); continue; } val[0] = '\0'; @@ -176,7 +176,7 @@ _public_ struct udev *udev_new(void) /* unquote */ if (val[0] == '"' || val[0] == '\'') { if (val[len-1] != val[0]) { - udev_err(udev, "inconsistent quoting in " SYSCONFDIR "/udev/udev.conf[%i]; skip line\n", line_nr); + udev_err(udev, "inconsistent quoting in /etc/udev/udev.conf[%i]; skip line\n", line_nr); continue; } val[len-1] = '\0'; |