diff options
Diffstat (limited to 'src/hyper/hterror.c')
-rw-r--r-- | src/hyper/hterror.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hyper/hterror.c b/src/hyper/hterror.c index f5831f83..46852c46 100644 --- a/src/hyper/hterror.c +++ b/src/hyper/hterror.c @@ -204,18 +204,18 @@ token_name(int type) } } void -htperror(char *msg, int errno) +htperror(char *msg, int erno) { char obuff[256]; /* The first thing I do is create the error message */ - if (errno <= Numerrors) { + if (erno <= Numerrors) { sprintf(obuff, "%s:%s\n", msg, errmess[errno]); } else { sprintf(obuff, "%s:\n", msg); - fprintf(stderr, "Unknown error type %d\n", errno); + fprintf(stderr, "Unknown error type %d\n", erno); } fprintf(stderr, "%s", obuff); |