summaryrefslogtreecommitdiff
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-03-21 00:04:04 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-03-21 00:04:04 +0000
commit35cbdb897268eb036f8569d3840a27748087cb83 (patch)
tree08c20fbcde6f6cff63566fce52de9cfd4217d043 /usr.bin/kdump
parent96221280867fcc5be32f99ba980f07468713d523 (diff)
Handle kbind()'s third argument correctly
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/kdump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 40af8f17a68..9f1476b53e2 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdump.c,v 1.123 2016/03/06 22:33:48 guenther Exp $ */
+/* $OpenBSD: kdump.c,v 1.124 2016/03/21 00:04:03 guenther Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -719,6 +719,7 @@ static const formatter scargs[][8] = {
[SYS_madvise] = { Pptr, Pbigsize, Madvisebehavname },
[SYS_utimes] = { Ppath, Pptr },
[SYS_futimes] = { Pfd, Pptr },
+ [SYS_kbind] = { Pptr, Psize, Phexlonglong },
[SYS_mincore] = { Pptr, Pbigsize, Pptr },
[SYS_getgroups] = { Pcount, Pptr },
[SYS_setgroups] = { Pcount, Pptr },