summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xztcfg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ztcfg.c b/ztcfg.c
index 9c5958f..41f890a 100755
--- a/ztcfg.c
+++ b/ztcfg.c
@@ -195,9 +195,9 @@ int spanconfig(char *keyword, char *args)
int argc;
int span;
int timing;
- argc = res = parseargs(args, realargs, 6, ',');
- if ((res < 5) || (res > 6)) {
- error("Incorrect number of arguments to 'span' (should be <spanno>,<timing>,<lbo>,<framing>,<coding>[,yellow])\n");
+ argc = res = parseargs(args, realargs, 7, ',');
+ if ((res < 5) || (res > 7)) {
+ error("Incorrect number of arguments to 'span' (should be <spanno>,<timing>,<lbo>,<framing>,<coding>[, crc4 | yellow [, yellow]])\n");
}
res = sscanf(realargs[0], "%i", &span);
if (res != 1) {