Convert hash_open() call to dbopen().
This commit is contained in:
parent
1aa661887a
commit
f8760c2ba3
@ -55,7 +55,7 @@ devname(dev, type)
|
||||
DBT data, key;
|
||||
|
||||
if (!db && !failure &&
|
||||
!(db = hash_open(_PATH_DEVDB, O_RDONLY, 0, NULL))) {
|
||||
!(db = dbopen(_PATH_DEVDB, O_RDONLY, 0, DB_HASH, NULL))) {
|
||||
(void)fprintf(stderr,
|
||||
"warning: no device database %s\n", _PATH_DEVDB);
|
||||
failure = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user