diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-08-07 03:50:03 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-08-07 03:50:03 +0000 |
commit | eb95cc9da073c2c7f556ff2c8c2a63c319881bfb (patch) | |
tree | d3984d88de35cd21a0754c75a71b124b3e0c79f2 /sys/dev/ic/aac.c | |
parent | 327b342b96e585a8d91a4811578b95328b8aead2 (diff) |
No "\n" needed at the end of panic() strings.
Bogus chunks pointed out by matthew@ and miod@. No cookies for
marco@ and jasper@.
ok deraadt@ miod@ matthew@ jasper@ macro@
Diffstat (limited to 'sys/dev/ic/aac.c')
-rw-r--r-- | sys/dev/ic/aac.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/aac.c b/sys/dev/ic/aac.c index 7bab303cc4e..93d19b55a15 100644 --- a/sys/dev/ic/aac.c +++ b/sys/dev/ic/aac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aac.c,v 1.47 2010/06/28 18:31:01 krw Exp $ */ +/* $OpenBSD: aac.c,v 1.48 2010/08/07 03:50:01 krw Exp $ */ /*- * Copyright (c) 2000 Michael Smith @@ -423,7 +423,7 @@ aac_add_container(struct aac_softc *sc, struct aac_mntinforesp *mir, int f) co = (struct aac_container *)malloc(sizeof *co, M_DEVBUF, M_NOWAIT); if (co == NULL) - panic("Out of memory?!\n"); + panic("Out of memory?!"); bzero(co, sizeof *co); AAC_DPRINTF(AAC_D_MISC, ("%s: id %x name '%.16s' size %u type %d\n", @@ -547,7 +547,7 @@ aac_detach(device_t dev) } if (sc->aifflags & AAC_AIFFLAGS_RUNNING) - panic("Cannot shutdown AIF thread\n"); + panic("Cannot shutdown AIF thread"); if ((error = aac_shutdown(dev))) return(error); @@ -769,7 +769,7 @@ aac_startio(struct aac_softc *sc) * catastrophic since it means that bus_dmamap_load() failed. */ if (aac_map_command(cm) != 0) - panic("aac: error mapping command %p\n", cm); + panic("aac: error mapping command %p", cm); AAC_DPRINTF(AAC_D_CMD, ("\n%s: another command", sc->aac_dev.dv_xname)); @@ -1006,7 +1006,7 @@ aac_bio_command(struct aac_softc *sc, struct aac_command **cmp) opcode = WRITE_COMMAND; break; default: - panic("%s: invalid opcode %#x\n", sc->aac_dev.dv_xname, + panic("%s: invalid opcode %#x", sc->aac_dev.dv_xname, xs->cmd->opcode); } |