aboutsummaryrefslogtreecommitdiff
path: root/src/gdbmerrno.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-08-06 13:43:23 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2016-08-06 13:43:23 +0300
commit46aeea15845301873e1e7f7ed6d609a9631c2486 (patch)
treefae91bd31a02bd06a2d021c1b2de5c1463c6b37d /src/gdbmerrno.c
parent02af339ee10b10c8e192db0a0c990dffb5925c59 (diff)
downloadgdbm-46aeea15845301873e1e7f7ed6d609a9631c2486.tar.gz
gdbm-46aeea15845301873e1e7f7ed6d609a9631c2486.tar.bz2
Fix typos
Diffstat (limited to 'src/gdbmerrno.c')
-rw-r--r--src/gdbmerrno.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gdbmerrno.c b/src/gdbmerrno.c
index 424c3d5..5a38cc8 100644
--- a/src/gdbmerrno.c
+++ b/src/gdbmerrno.c
@@ -107,7 +107,7 @@ const char * const gdbm_errlist[_GDBM_MAX_ERRNO+1] = {
[GDBM_READER_CANT_DELETE] = N_("Reader can't delete"),
[GDBM_READER_CANT_STORE] = N_("Reader can't store"),
[GDBM_READER_CANT_REORGANIZE] = N_("Reader can't reorganize"),
- [GDBM_UNKNOWN_ERRNO] = N_("Should not happen: unused error code"),
+ [GDBM_UNKNOWN_ERROR] = N_("Should not happen: unused error code"),
[GDBM_ITEM_NOT_FOUND] = N_("Item not found"),
[GDBM_REORGANIZE_FAILED] = N_("Reorganize failed"),
[GDBM_CANNOT_REPLACE] = N_("Cannot replace"),
@@ -131,7 +131,7 @@ const char *
gdbm_strerror (gdbm_error error)
{
if (error < _GDBM_MIN_ERRNO || error > _GDBM_MAX_ERRNO)
- error = GDBM_UNKNOWN_ERRNO;
+ error = GDBM_UNKNOWN_ERROR;
return gettext (gdbm_errlist[error]);
}

Return to:

Send suggestions and report system problems to the System administrator.