summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2006-06-06 14:47:45 +0000
committerdlg <dlg@openbsd.org>2006-06-06 14:47:45 +0000
commitd1f9d698ba2e2ce9d8ce3599ebaa78853d059b61 (patch)
treeec15bcb09e8bb6d0c222579330b5ab9c0cfa77b1
parentuse _C_LABEL() instead of _ (diff)
downloadwireguard-openbsd-d1f9d698ba2e2ce9d8ce3599ebaa78853d059b61.tar.xz
wireguard-openbsd-d1f9d698ba2e2ce9d8ce3599ebaa78853d059b61.zip
fix a panic string to mention the corrent place its freaking out in.
-rw-r--r--sys/dev/ic/mpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c
index 1a587e14c93..b282aae2436 100644
--- a/sys/dev/ic/mpi.c
+++ b/sys/dev/ic/mpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpi.c,v 1.24 2006/06/01 21:32:15 dlg Exp $ */
+/* $OpenBSD: mpi.c,v 1.25 2006/06/06 14:47:45 dlg Exp $ */
/*
* Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org>
@@ -1538,7 +1538,7 @@ mpi_portenable(struct mpi_softc *sc)
pep = ccb->ccb_reply;
if (pep == NULL)
- panic("%s: empty portfacts reply\n", DEVNAME(sc));
+ panic("%s: empty portenable reply\n", DEVNAME(sc));
mpi_push_reply(sc, ccb->ccb_reply_dva);
mpi_put_ccb(sc, ccb);