From 97b5280bd5ff44b94213559391421ba39e11249a Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 26 Apr 2008 01:32:36 +0000 Subject: Cleanup, part 1. --- src/hyper/hterror.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/hyper/hterror.c') 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); -- cgit v1.2.3