diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-10-12 01:09:46 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-10-12 01:09:46 +0000 |
commit | fd4371e84bfe456363d8522471f8e03b42c3f36e (patch) | |
tree | a45b0b37f4702c1340cc44dce62c3b2b2e2ea809 /sys/dev/pci/ubsec.c | |
parent | c7bb58ffd3ad6fc8b402a37bee511cb1b92325de (diff) |
Remove more '\n's from panic() statements. Both trailing and leading.
Diff generated by Chris Kuethe.
Diffstat (limited to 'sys/dev/pci/ubsec.c')
-rw-r--r-- | sys/dev/pci/ubsec.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/ubsec.c b/sys/dev/pci/ubsec.c index 0cad2752ee6..d35d4ef0c99 100644 --- a/sys/dev/pci/ubsec.c +++ b/sys/dev/pci/ubsec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ubsec.c,v 1.117 2002/10/10 17:46:35 jason Exp $ */ +/* $OpenBSD: ubsec.c,v 1.118 2002/10/12 01:09:44 krw Exp $ */ /* * Copyright (c) 2000 Jason L. Wright (jason@thought.net) @@ -1970,10 +1970,10 @@ ubsec_kprocess_modexp_sw(sc, krp) #ifdef DIAGNOSTIC /* Misaligned output buffer will hang the chip. */ if ((letoh32(mcr->mcr_opktbuf.pb_addr) & 3) != 0) - panic("%s: modexp invalid addr 0x%x\n", + panic("%s: modexp invalid addr 0x%x", sc->sc_dv.dv_xname, letoh32(mcr->mcr_opktbuf.pb_addr)); if ((letoh32(mcr->mcr_opktbuf.pb_len) & 3) != 0) - panic("%s: modexp invalid len 0x%x\n", + panic("%s: modexp invalid len 0x%x", sc->sc_dv.dv_xname, letoh32(mcr->mcr_opktbuf.pb_len)); #endif @@ -2172,10 +2172,10 @@ ubsec_kprocess_modexp_hw(sc, krp) #ifdef DIAGNOSTIC /* Misaligned output buffer will hang the chip. */ if ((letoh32(mcr->mcr_opktbuf.pb_addr) & 3) != 0) - panic("%s: modexp invalid addr 0x%x\n", + panic("%s: modexp invalid addr 0x%x", sc->sc_dv.dv_xname, letoh32(mcr->mcr_opktbuf.pb_addr)); if ((letoh32(mcr->mcr_opktbuf.pb_len) & 3) != 0) - panic("%s: modexp invalid len 0x%x\n", + panic("%s: modexp invalid len 0x%x", sc->sc_dv.dv_xname, letoh32(mcr->mcr_opktbuf.pb_len)); #endif |