Convert hash_open() call to dbopen().

This commit is contained in:
mycroft 1993-04-25 08:51:22 +00:00
parent 1aa661887a
commit f8760c2ba3

View File

@ -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;