diff options
author | 2006-04-20 20:29:56 +0000 | |
---|---|---|
committer | 2006-04-20 20:29:56 +0000 | |
commit | e4d45b7848981c20d07be81e86a01bbd4594e12f (patch) | |
tree | c05d44134a12ef28b40d551f711b104af9622416 /sys/dev | |
parent | Cast unsigned to signed when you want to check for negative values. (diff) | |
download | wireguard-openbsd-e4d45b7848981c20d07be81e86a01bbd4594e12f.tar.xz wireguard-openbsd-e4d45b7848981c20d07be81e86a01bbd4594e12f.zip |
printf() calls with the format string spanning several lines should not have
trailing commas between string chunks, for this has unexpected effects.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/ath.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/mpt_openbsd.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c index 2cdb1186f2b..bb5071f3273 100644 --- a/sys/dev/ic/ath.c +++ b/sys/dev/ic/ath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ath.c,v 1.47 2006/03/25 22:41:42 djm Exp $ */ +/* $OpenBSD: ath.c,v 1.48 2006/04/20 20:29:56 miod Exp $ */ /* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */ /*- @@ -2730,7 +2730,7 @@ ath_chan_set(struct ath_softc *sc, struct ieee80211_channel *chan) * Re-enable rx framework. */ if (ath_startrecv(sc) != 0) { - printf("%s: ath_chan_set: unable to restart recv ", + printf("%s: ath_chan_set: unable to restart recv " "logic\n", ifp->if_xname); return EIO; } diff --git a/sys/dev/ic/mpt_openbsd.c b/sys/dev/ic/mpt_openbsd.c index 4014768945f..4bfb5da3276 100644 --- a/sys/dev/ic/mpt_openbsd.c +++ b/sys/dev/ic/mpt_openbsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpt_openbsd.c,v 1.32 2006/02/04 19:05:00 marco Exp $ */ +/* $OpenBSD: mpt_openbsd.c,v 1.33 2006/04/20 20:29:56 miod Exp $ */ /* $NetBSD: mpt_netbsd.c,v 1.7 2003/07/14 15:47:11 lukem Exp $ */ /* @@ -559,7 +559,7 @@ mpt_dma_mem_alloc(struct mpt_softc *mpt) error = bus_dmamap_create(mpt->sc_dmat, MAXPHYS, MPT_SGL_MAX, MAXPHYS, 0, 0, &req->dmap); if (error) { - printf("%s: unable to create req %d DMA map, error = ", + printf("%s: unable to create req %d DMA map, error = " "%d", mpt->mpt_dev.dv_xname, i, error); goto unload_request; } |