Print the ktr(4) format line that caused a failure.
Sponsored by: Nginx, Inc.
This commit is contained in:
parent
c7d8c1c6e0
commit
0d52168e42
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=260810
@ -236,7 +236,7 @@ main(int ac, char **av)
|
|||||||
next: if ((c = *p++) == '\0')
|
next: if ((c = *p++) == '\0')
|
||||||
break;
|
break;
|
||||||
if (parm == KTR_PARMS)
|
if (parm == KTR_PARMS)
|
||||||
errx(1, "too many parameters");
|
errx(1, "too many parameters in \"%s\"", desc);
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case '0': case '1': case '2': case '3': case '4':
|
case '0': case '1': case '2': case '3': case '4':
|
||||||
case '5': case '6': case '7': case '8': case '9':
|
case '5': case '6': case '7': case '8': case '9':
|
||||||
|
Loading…
Reference in New Issue
Block a user