summaryrefslogtreecommitdiff
path: root/udev.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-11-24 23:14:44 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:04 -0700
commit49d72e43487164194263d2c80dd27a4627f2169c (patch)
tree114b4d834e590fb63dd978f38a0dada6f1253b1a /udev.c
parent5b8ba50aa27680e14dddde6248f65cc175f933ab (diff)
[PATCH] changed the default location of the database to /udev/.udev.tdb to be LSB compliant
Finally the Debian people can get off my back...
Diffstat (limited to 'udev.c')
-rw-r--r--udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev.c b/udev.c
index a562bc27be..094905ecc2 100644
--- a/udev.c
+++ b/udev.c
@@ -107,7 +107,7 @@ static void get_dirs(void)
}
dbg("sysfs_path='%s'", sysfs_path);
- strncpy(udev_db_filename, udev_config_dir, sizeof(udev_db_filename));
+ strncpy(udev_db_filename, udev_root, sizeof(udev_db_filename));
strncat(udev_db_filename, udev_db, sizeof(udev_db_filename));
strncpy(udev_config_filename, udev_config_dir, sizeof(udev_config_filename));