summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sa
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2015-07-26 22:16:43 +0000
committerchl <chl@openbsd.org>2015-07-26 22:16:43 +0000
commita4ae1a9ac639b907448781d04c91140d853d722c (patch)
tree9600dc3a8509f2aceed1db4b5fee88bf549e3913 /usr.sbin/sa
parentnflag (as in sudo, force non-interactive mode) (diff)
downloadwireguard-openbsd-a4ae1a9ac639b907448781d04c91140d853d722c.tar.xz
wireguard-openbsd-a4ae1a9ac639b907448781d04c91140d853d722c.zip
fix format string
ok deraadt@
Diffstat (limited to 'usr.sbin/sa')
-rw-r--r--usr.sbin/sa/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sa/main.c b/usr.sbin/sa/main.c
index f64f03c7265..dd60cdb9d26 100644
--- a/usr.sbin/sa/main.c
+++ b/usr.sbin/sa/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.13 2015/04/18 18:28:38 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.14 2015/07/26 22:16:43 chl Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
* All rights reserved.
@@ -160,7 +160,7 @@ main(int argc, char **argv)
/* XXX cutoff could be converted to quad_t? */
cutoff = strtonum(optarg, 1, INT_MAX, &errstr);
if (errstr)
- errx(1, "-v $s: %s", optarg, errstr);
+ errx(1, "-v %s: %s", optarg, errstr);
break;
case '?':
default: