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/wscons/wsmux.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/wscons/wsmux.c')
-rw-r--r-- | sys/dev/wscons/wsmux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/wscons/wsmux.c b/sys/dev/wscons/wsmux.c index 93218db9b4f..5d745573dae 100644 --- a/sys/dev/wscons/wsmux.c +++ b/sys/dev/wscons/wsmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsmux.c,v 1.9 2002/04/30 23:01:55 mickey Exp $ */ +/* $OpenBSD: wsmux.c,v 1.10 2002/10/12 01:09:44 krw Exp $ */ /* $NetBSD: wsmux.c,v 1.9 2000/05/28 10:33:14 takemura Exp $ */ /* @@ -116,7 +116,7 @@ wsmux_setmax(n) wsmuxdevs_tmp = malloc(nwsmux * sizeof(*wsmuxdevs_tmp), M_DEVBUF, M_NOWAIT); if (wsmuxdevs_tmp == 0) - panic("wsmux_setmax: no mem\n"); + panic("wsmux_setmax: no mem"); for (i = 0; i < nwsmux; i++) wsmuxdevs_tmp[i] = wsmuxdevs[i]; free(wsmuxdevs, M_DEVBUF); @@ -125,7 +125,7 @@ wsmux_setmax(n) wsmuxdevs = malloc((n + 1) * sizeof(*wsmuxdevs), M_DEVBUF, M_NOWAIT); if (wsmuxdevs == NULL) - panic("wsmux_setmax: no memory\n"); + panic("wsmux_setmax: no memory"); memset(wsmuxdevs, 0, (n + 1) * sizeof(*wsmuxdevs)); if (wsmuxdevs_tmp != NULL) { for (i = 0; i < nwsmux; i++) |