Convert hash_open() call to dbopen().
This commit is contained in:
parent
1b84c0e58e
commit
78f6cc91f6
|
@ -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