summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/compat.c2
-rw-r--r--Src/params.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/Src/compat.c b/Src/compat.c
index 8cfb8a3a5..86611a727 100644
--- a/Src/compat.c
+++ b/Src/compat.c
@@ -184,7 +184,7 @@ zpathmax(char *dir)
 		    ((errno = 0), PATH_MAX - dirlen)));
 #endif
 }
-#endif // 0
+#endif /* 0 */
 
 #ifdef HAVE_SYSCONF
 /* This is replaced by a macro from system.h if not HAVE_SYSCONF.    *
diff --git a/Src/params.c b/Src/params.c
index f96824165..cd0b16964 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -1390,15 +1390,15 @@ fetchvalue(Value v, char **pptr, int bracks, int flags)
 	return NULL;
     }
     if (v->start < -MAX_ARRLEN) {
-	zerr("%s: subscript too %s: %d", "small", v->start);
+	zerr("subscript too %s: %d", "small", v->start);
 	return NULL;
     }
     if (v->end > MAX_ARRLEN+1) {
-	zerr("%s: subscript too %s: %d", "big", v->end - !!isset(KSHARRAYS));
+	zerr("subscript too %s: %d", "big", v->end - !!isset(KSHARRAYS));
 	return NULL;
     }
     if (v->end < -MAX_ARRLEN) {
-	zerr("%s: subscript too %s: %d", "small", v->end);
+	zerr("subscript too %s: %d", "small", v->end);
 	return NULL;
     }
     return v;