summaryrefslogtreecommitdiff
path: root/mysys/my_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_error.c')
-rw-r--r--mysys/my_error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/my_error.c b/mysys/my_error.c
index 26510f08480..562b192b24d 100644
--- a/mysys/my_error.c
+++ b/mysys/my_error.c
@@ -23,7 +23,7 @@
/* Define some external variables for error handling */
-const char ** NEAR errmsg[MAXMAPS]={0,0,0,0};
+const char ** NEAR my_errmsg[MAXMAPS]={0,0,0,0};
char NEAR errbuff[NRERRBUFFS][ERRMSGSIZE];
/* Error message to user */
@@ -42,10 +42,10 @@ int my_error(int nr,myf MyFlags, ...)
va_start(ap,MyFlags);
DBUG_PRINT("my", ("nr: %d MyFlags: %d errno: %d", nr, MyFlags, errno));
- if (nr / ERRMOD == GLOB && errmsg[GLOB] == 0)
+ if (nr / ERRMOD == GLOB && my_errmsg[GLOB] == 0)
init_glob_errs();
- olen=(uint) strlen(tpos=errmsg[nr / ERRMOD][nr % ERRMOD]);
+ olen=(uint) strlen(tpos=my_errmsg[nr / ERRMOD][nr % ERRMOD]);
endpos=ebuff;
while (*tpos)