Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hpcarm/hpcarm Fix paste-o in last.



details:   https://anonhg.NetBSD.org/src/rev/2e0071b4e758
branches:  trunk
changeset: 957231:2e0071b4e758
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Nov 21 21:27:09 2020 +0000

description:
Fix paste-o in last.

diffstat:

 sys/arch/hpcarm/hpcarm/softintr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3f2004a94de4 -r 2e0071b4e758 sys/arch/hpcarm/hpcarm/softintr.c
--- a/sys/arch/hpcarm/hpcarm/softintr.c Sat Nov 21 21:23:48 2020 +0000
+++ b/sys/arch/hpcarm/hpcarm/softintr.c Sat Nov 21 21:27:09 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: softintr.c,v 1.17 2020/11/21 21:25:33 thorpej Exp $    */
+/*     $NetBSD: softintr.c,v 1.18 2020/11/21 21:27:09 thorpej Exp $    */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: softintr.c,v 1.17 2020/11/21 21:25:33 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: softintr.c,v 1.18 2020/11/21 21:27:09 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -94,7 +94,7 @@
 {
        struct softintr_handler *sh = arg;
 
-       free(sh, sizeof(*sh));
+       kmem_free(sh, sizeof(*sh));
 }
 
 void



Home | Main Index | Thread Index | Old Index