diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2007-02-26 04:00:26 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2007-02-26 04:00:26 +0000 |
commit | 567a630a379527b9f7c55d0c906cb95a37bbb490 (patch) | |
tree | bf8ac89653723c1e010d481dcdc279e9c23a2e94 /sys/dev/pci/if_msk.c | |
parent | 30b6141fd8c6b0364c83e7462b7e70d38d7a22a3 (diff) |
This fixes the function names printed in the panic strings so that
the correct function names are being used, this is msk(4), not sk(4).
from brad@
Diffstat (limited to 'sys/dev/pci/if_msk.c')
-rw-r--r-- | sys/dev/pci/if_msk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c index 65cac0cead9..c023403a30c 100644 --- a/sys/dev/pci/if_msk.c +++ b/sys/dev/pci/if_msk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_msk.c,v 1.49 2007/02/13 20:10:33 kettenis Exp $ */ +/* $OpenBSD: if_msk.c,v 1.50 2007/02/26 04:00:25 todd Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -683,14 +683,14 @@ msk_jfree(caddr_t buf, u_int size, void *arg) sc = (struct sk_if_softc *)arg; if (sc == NULL) - panic("sk_jfree: can't find softc pointer!"); + panic("msk_jfree: can't find softc pointer!"); /* calculate the slot this buffer belongs to */ i = ((vaddr_t)buf - (vaddr_t)sc->sk_cdata.sk_jumbo_buf) / SK_JLEN; if ((i < 0) || (i >= MSK_JSLOTS)) - panic("sk_jfree: asked to free buffer that we don't manage!"); + panic("msk_jfree: asked to free buffer that we don't manage!"); entry = LIST_FIRST(&sc->sk_jinuse_listhead); if (entry == NULL) |