diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/db/hash/ndbm.c | 2 | ||||
-rw-r--r-- | lib/libc/db/man/dbm.3 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/db/hash/ndbm.c b/lib/libc/db/hash/ndbm.c index 37adaf6..1a02d00 100644 --- a/lib/libc/db/hash/ndbm.c +++ b/lib/libc/db/hash/ndbm.c @@ -56,7 +56,7 @@ __FBSDID("$FreeBSD$"); * NULL on failure */ extern DBM * -dbm_open(const char *file, int flags, int mode) +dbm_open(const char *file, int flags, mode_t mode) { HASHINFO info; char path[MAXPATHLEN]; diff --git a/lib/libc/db/man/dbm.3 b/lib/libc/db/man/dbm.3 index c16f517..4fe5d82 100644 --- a/lib/libc/db/man/dbm.3 +++ b/lib/libc/db/man/dbm.3 @@ -34,7 +34,7 @@ .In fcntl.h .In ndbm.h .Ft DBM * -.Fn dbm_open "const char *base" "int flags" "int mode" +.Fn dbm_open "const char *base" "int flags" "mode_t mode" .Ft void .Fn dbm_close "DBM *db" .Ft int |