summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-02-07 21:53:10 +0100
committerKay Sievers <kay@vrfy.org>2013-02-07 21:54:49 +0100
commitbeb23689e357ed549f5c9d4a3440da2132a419f1 (patch)
treeb43eaea30c469e2e7c34689dc35ddcbcddcae7f7 /src/udev
parent1f28b2deb4e118cd2d2a5138ccb4cc45841c136d (diff)
udev: remove HWDB_BIN
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udevadm-hwdb.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/udev/udevadm-hwdb.c b/src/udev/udevadm-hwdb.c
index 00c0d3d4c4..8e515b9f71 100644
--- a/src/udev/udevadm-hwdb.c
+++ b/src/udev/udevadm-hwdb.c
@@ -565,11 +565,10 @@ static int adm_hwdb(struct udev *udev, int argc, char *argv[]) {
log_debug("strings dedup'ed: %8zu bytes (%8zu)\n",
trie->strings->dedup_len, trie->strings->dedup_count);
- mkdir_parents(HWDB_BIN, 0755);
- err = trie_store(trie, HWDB_BIN);
+ mkdir_parents("/etc/udev/hwdb.bin", 0755);
+ err = trie_store(trie, "/etc/udev/hwdb.bin");
if (err < 0) {
- log_error("Failure writing hardware database '%s': %s",
- HWDB_BIN, strerror(-err));
+ log_error("Failure writing database /etc/udev/hwdb.bin: %s", strerror(-err));
rc = EXIT_FAILURE;
}
}