diff options
author | greg@kroah.com <greg@kroah.com> | 2003-10-21 20:19:09 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:01:42 -0700 |
commit | c056c5141b16fe95485eeb233fe8b90954686a60 (patch) | |
tree | 0e5ff6219b7bffce255d79ca132296f131b4e4c1 /udevdb.c | |
parent | d4e52dd0d95c21ccda50310404be4b5a540cc498 (diff) |
[PATCH] make config files, sysfs root, and udev root configurable from config variables
This will make running tests a lot simpler.
Diffstat (limited to 'udevdb.c')
-rw-r--r-- | udevdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -124,12 +124,12 @@ int udevdb_init(int init_flag) if (init_flag != UDEVDB_DEFAULT && init_flag != UDEVDB_INTERNAL) return -EINVAL; - udevdb = tdb_open(UDEV_CONFIG_DIR UDEV_DB, 0, init_flag, O_RDWR | O_CREAT, 0644); + udevdb = tdb_open(udev_db_filename, 0, init_flag, O_RDWR | O_CREAT, 0644); if (udevdb == NULL) { if (init_flag == UDEVDB_INTERNAL) dbg("Unable to initialize in-memory database"); else - dbg("Unable to initialize database at %s", UDEV_CONFIG_DIR UDEV_DB); + dbg("Unable to initialize database at %s", udev_db_filename); return -EINVAL; } return 0; |