From b244fd5723c6c7951c36a89744240f04eec8c795 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 24 May 2008 08:21:17 +0000 Subject: * interp/define.boot (compDefineFunctor1): Robustify. * hyper/parse-types.c (htperror): Fix thinko. --- src/hyper/parse-types.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/hyper') diff --git a/src/hyper/parse-types.c b/src/hyper/parse-types.c index 68382d83..986df978 100644 --- a/src/hyper/parse-types.c +++ b/src/hyper/parse-types.c @@ -69,7 +69,7 @@ static char *errmess[] = { /* * htperror(): arguments: msg - like perror it accepts an error - * message to be printed errno - the errno which occurred. This is so an + * message to be printed erno - the erno which occurred. This is so an * appropriate error message can be printed. * * The prints out the page name, and then the filename in which the error @@ -84,7 +84,7 @@ htperror(char *msg, int erno) /* The first thing I do is create the error message */ if (erno <= Numerrors) { - sprintf(obuff, "%s:%s\n", msg, errmess[errno]); + sprintf(obuff, "%s:%s\n", msg, errmess[erno]); } else { sprintf(obuff, "%s:\n", msg); -- cgit v1.2.3