summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-04-24 02:22:09 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-04-24 02:22:09 +0000
commit2e2fc3b21432281c7e1f3aa7c57d4fce104aaa42 (patch)
tree55dc6af8a9fc3da65a2ad2a96c62acafcc3cf74a /sys/arch
parent92de20b0f3ea3509fa03fc0bee935cd0b094378b (diff)
Use "softintr_pic0" instead of "softintr_fakepic" when faking a
struct device so there is enough space in the buffer for a NUL and the unit is included in the string. discussed with deraadt and millert
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/intr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/intr.c b/sys/arch/amd64/amd64/intr.c
index 81433436f6e..4e9410a53b4 100644
--- a/sys/arch/amd64/amd64/intr.c
+++ b/sys/arch/amd64/amd64/intr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.c,v 1.41 2015/03/14 03:38:46 jsg Exp $ */
+/* $OpenBSD: intr.c,v 1.42 2015/04/24 02:22:08 jsg Exp $ */
/* $NetBSD: intr.c,v 1.3 2003/03/03 22:16:20 fvdl Exp $ */
/*
@@ -64,7 +64,7 @@
#endif
struct pic softintr_pic = {
- {0, {NULL}, NULL, 0, "softintr_fakepic", NULL, 0, 0},
+ {0, {NULL}, NULL, 0, "softintr_pic0", NULL, 0, 0},
PIC_SOFT,
#ifdef MULTIPROCESSOR
{},