Convert hash_open() call to dbopen().

This commit is contained in:
mycroft 1993-04-25 08:51:22 +00:00
parent 1b84c0e58e
commit 78f6cc91f6
1 changed files with 1 additions and 1 deletions

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;