diff options
Diffstat (limited to 'sys/arch/hppa/dev/apic.c')
-rw-r--r-- | sys/arch/hppa/dev/apic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/dev/apic.c b/sys/arch/hppa/dev/apic.c index 7196b9207a9..debdc31480b 100644 --- a/sys/arch/hppa/dev/apic.c +++ b/sys/arch/hppa/dev/apic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apic.c,v 1.17 2015/08/12 05:39:36 mlarkin Exp $ */ +/* $OpenBSD: apic.c,v 1.18 2015/09/08 07:14:04 deraadt Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -175,7 +175,7 @@ apic_intr_establish(void *v, pci_intr_handle_t ih, cnt = malloc(sizeof(struct evcount), M_DEVBUF, M_NOWAIT); if (!cnt) { - free(aiv, M_DEVBUF, 0); + free(aiv, M_DEVBUF, sizeof *aiv); return (NULL); } |