Print the ktr(4) format line that caused a failure.

Sponsored by:	Nginx, Inc.
This commit is contained in:
Gleb Smirnoff 2014-01-17 09:11:44 +00:00
parent c7d8c1c6e0
commit 0d52168e42
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=260810

View File

@ -236,7 +236,7 @@ main(int ac, char **av)
next: if ((c = *p++) == '\0')
break;
if (parm == KTR_PARMS)
errx(1, "too many parameters");
errx(1, "too many parameters in \"%s\"", desc);
switch (c) {
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':