From 34745855fbc40388255c8f1bfd88ea8addea7baf Mon Sep 17 00:00:00 2001 From: visa Date: Fri, 7 Jul 2017 10:04:43 +0000 Subject: [PATCH] Fix function name in panic message. --- sys/arch/octeon/dev/octciu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/octeon/dev/octciu.c b/sys/arch/octeon/dev/octciu.c index 697bd1272b1..a047d2c753e 100644 --- a/sys/arch/octeon/dev/octciu.c +++ b/sys/arch/octeon/dev/octciu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: octciu.c,v 1.2 2017/06/19 13:31:04 visa Exp $ */ +/* $OpenBSD: octciu.c,v 1.3 2017/07/07 10:04:43 visa Exp $ */ /* * Copyright (c) 2000-2004 Opsycon AB (www.opsycon.se) @@ -194,7 +194,7 @@ octciu_intr_establish(int irq, int level, int (*ih_fun)(void *), #ifdef DIAGNOSTIC if (irq >= OCTCIU_NINTS || irq < 0) - panic("intr_establish: illegal irq %d", irq); + panic("%s: illegal irq %d", __func__, irq); #endif flags = (level & IPL_MPSAFE) ? IH_MPSAFE : 0; -- 2.20.1