summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-02-20 18:08:44 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-02-20 18:08:44 +0000
commit0aa53e95c6ee06421ec20efacca20818320a21e0 (patch)
tree25f5e7ac24bfd68e0249cb6e1ddd7b00ebe5e968
parent5c9a489f1291dbcd0c20b7e0b57c901031e93f5c (diff)
no trailing newline in panic(); PR 3103
-rw-r--r--sys/dev/ieee1394/fwscsi.c4
-rw-r--r--sys/dev/pci/if_ti.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ieee1394/fwscsi.c b/sys/dev/ieee1394/fwscsi.c
index f8e5d2b0988..11366662e6a 100644
--- a/sys/dev/ieee1394/fwscsi.c
+++ b/sys/dev/ieee1394/fwscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fwscsi.c,v 1.11 2003/01/13 07:16:20 tdeval Exp $ */
+/* $OpenBSD: fwscsi.c,v 1.12 2003/02/20 18:08:43 henning Exp $ */
/*
* Copyright (c) 2002 Thierry Deval. All rights reserved.
@@ -481,7 +481,7 @@ fwscsi_scsipi_request(struct scsipi_channel *channel,
DPRINTF(("Got set xfer mode\n"));
break;
default:
- panic("Unknown request: %d\n", (int)req);
+ panic("Unknown request: %d", (int)req);
}
}
#else
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c
index 37cae4b9025..01431ac02c8 100644
--- a/sys/dev/pci/if_ti.c
+++ b/sys/dev/pci/if_ti.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ti.c,v 1.41 2002/12/04 17:32:30 nate Exp $ */
+/* $OpenBSD: if_ti.c,v 1.42 2003/02/20 18:08:43 henning Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -743,7 +743,7 @@ int ti_newbuf_std(sc, i, m, dmamap)
if ((dmamap->dm_segs[0].ds_addr & ~(MCLBYTES - 1)) !=
((dmamap->dm_segs[0].ds_addr + dmamap->dm_segs[0].ds_len - 1) &
~(MCLBYTES - 1)))
- panic("overwritten!!!\n");
+ panic("overwritten!!!");
return(0);
}