summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2015-07-26 22:17:35 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2015-07-26 22:17:35 +0000
commit0e4969bc59663b3b2024496b4a4d95679aa2dbaa (patch)
treeb6f6c746425c3a99e941fc0b5d69b09587b2ff8e /usr.bin
parent20b546560f1bfc67eab6928e82dad17a7be33f45 (diff)
fix format string
ok deraadt@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ipcrm/ipcrm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ipcrm/ipcrm.c b/usr.bin/ipcrm/ipcrm.c
index 4f70c629848..6aae87ac5ba 100644
--- a/usr.bin/ipcrm/ipcrm.c
+++ b/usr.bin/ipcrm/ipcrm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipcrm.c,v 1.11 2015/04/18 18:28:37 deraadt Exp $*/
+/* $OpenBSD: ipcrm.c,v 1.12 2015/07/26 22:17:34 chl Exp $*/
/*
* Copyright (c) 1994 Adam Glass
@@ -126,7 +126,7 @@ main(int argc, char *argv[])
case 's':
target_id = strtonum(optarg, 0, INT_MAX, &errstr);
if (errstr)
- errx(1, "-%c %s: %s\n", c, optarg, &errstr);
+ errx(1, "-%c %s: %s\n", c, optarg, errstr);
if (c == 'q')
result = msgrm(0, target_id);
else if (c == 'm')