Opps, dbopen doesn't have an underscore. Fixed.
This commit is contained in:
parent
2d21df758f
commit
38918af207
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user