aboutsummaryrefslogtreecommitdiff
path: root/src/hyper
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-05-24 08:21:17 +0000
committerdos-reis <gdr@axiomatics.org>2008-05-24 08:21:17 +0000
commitb244fd5723c6c7951c36a89744240f04eec8c795 (patch)
treef547c5d880d378fbc56463f7ac23b750fc2a4345 /src/hyper
parent914063b53f350130e3fff005e8dba054eb8cca7c (diff)
downloadopen-axiom-b244fd5723c6c7951c36a89744240f04eec8c795.tar.gz
* interp/define.boot (compDefineFunctor1): Robustify.
* hyper/parse-types.c (htperror): Fix thinko.
Diffstat (limited to 'src/hyper')
-rw-r--r--src/hyper/parse-types.c4
1 files changed, 2 insertions, 2 deletions
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);