diff options
author | glebius <glebius@FreeBSD.org> | 2014-01-17 09:11:44 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-01-17 09:11:44 +0000 |
commit | e516af21470c784a4f0e569012b435c5a8ab6364 (patch) | |
tree | 225c3f66d4f2608771fac72d907f17683a48a5ce /usr.bin/ktrdump | |
parent | 28503bcf6ed336c719818a38e84f28bc370703ee (diff) | |
download | FreeBSD-src-e516af21470c784a4f0e569012b435c5a8ab6364.zip FreeBSD-src-e516af21470c784a4f0e569012b435c5a8ab6364.tar.gz |
Print the ktr(4) format line that caused a failure.
Sponsored by: Nginx, Inc.
Diffstat (limited to 'usr.bin/ktrdump')
-rw-r--r-- | usr.bin/ktrdump/ktrdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ktrdump/ktrdump.c b/usr.bin/ktrdump/ktrdump.c index 77ae522..5f3e7ca 100644 --- a/usr.bin/ktrdump/ktrdump.c +++ b/usr.bin/ktrdump/ktrdump.c @@ -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': |