summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/hash/ndbm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/db/hash/ndbm.c')
-rw-r--r--lib/libc/db/hash/ndbm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/db/hash/ndbm.c b/lib/libc/db/hash/ndbm.c
index 89b9916..2b54402 100644
--- a/lib/libc/db/hash/ndbm.c
+++ b/lib/libc/db/hash/ndbm.c
@@ -180,7 +180,7 @@ dbm_error(db)
HTAB *hp;
hp = (HTAB *)db->internal;
- return (hp->errno);
+ return (hp->error);
}
extern int
@@ -190,7 +190,7 @@ dbm_clearerr(db)
HTAB *hp;
hp = (HTAB *)db->internal;
- hp->errno = 0;
+ hp->error = 0;
return (0);
}
OpenPOWER on IntegriCloud