Opps, dbopen doesn't have an underscore. Fixed.

This commit is contained in:
proven 1993-04-21 04:26:21 +00:00
parent 2d21df758f
commit 38918af207
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ __initdb()
char *p;
p = (geteuid()) ? _PATH_MP_DB : _PATH_SMP_DB;
_pw_db = db_open(p, O_RDONLY, 0, DB_HASH, NULL);
_pw_db = dbopen(p, O_RDONLY, 0, DB_HASH, NULL);
if (_pw_db)
return(1);
if (!warned)

View File

@ -67,7 +67,7 @@ ttyname(fd)
if (fstat(fd, &sb) || !S_ISCHR(sb.st_mode))
return(NULL);
if (db = db_open(_PATH_DEVDB, O_RDONLY, 0, DB_HASH, NULL)) {
if (db = dbopen(_PATH_DEVDB, O_RDONLY, 0, DB_HASH, NULL)) {
bkey.type = S_IFCHR;
bkey.dev = sb.st_rdev;
key.data = &bkey;