summaryrefslogtreecommitdiff
path: root/usr.bin/indent
diff options
context:
space:
mode:
authorPiotr Pawel Stefaniak <pstef@FreeBSD.org>2018-06-01 20:45:35 +0000
committerPiotr Pawel Stefaniak <pstef@FreeBSD.org>2018-06-01 20:45:35 +0000
commit0de58b3f46be50e799270365afafa2099535a715 (patch)
treebe57996e7bdd14a93bf4e12d1140e06165e614c3 /usr.bin/indent
parentbadef00d58cb16c14d8ac7139a72908932c299aa (diff)
downloadsrc-test2-0de58b3f46be50e799270365afafa2099535a715.tar.gz
src-test2-0de58b3f46be50e799270365afafa2099535a715.zip
Notes
Diffstat (limited to 'usr.bin/indent')
-rw-r--r--usr.bin/indent/args.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/indent/args.c b/usr.bin/indent/args.c
index d2d30c7d0587..79a720a61c64 100644
--- a/usr.bin/indent/args.c
+++ b/usr.bin/indent/args.c
@@ -325,7 +325,7 @@ found:
case PRO_INT:
if (!isdigit(*param_start)) {
need_param:
- errx(1, "%s: ``%s'' requires a parameter", option_source, arg - 1);
+ errx(1, "%s: ``%s'' requires a parameter", option_source, p->p_name);
}
*p->p_obj = atoi(param_start);
break;