diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-03-29 21:53:54 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-03-29 21:53:54 +0000 |
commit | 69c5b21cf2da9c2ff6a2d3adf1f48f811feac372 (patch) | |
tree | 599868694b84d6aa6c93806fb08f3921218dba10 /sys/dev/cardbus/if_malo_cardbus.c | |
parent | e8880d029cebac8827fe0228bf64b8a2ba3ad456 (diff) |
make various strings ("can't map mem space" and similar) more consistent
between instances, saving space in the kernel. feedback from many (some
incorporated, some left for future work).
ok deraadt, kettenis, "why not" miod.
Diffstat (limited to 'sys/dev/cardbus/if_malo_cardbus.c')
-rw-r--r-- | sys/dev/cardbus/if_malo_cardbus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/cardbus/if_malo_cardbus.c b/sys/dev/cardbus/if_malo_cardbus.c index 0e2171da0b9..23de2afe67c 100644 --- a/sys/dev/cardbus/if_malo_cardbus.c +++ b/sys/dev/cardbus/if_malo_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_malo_cardbus.c,v 1.5 2006/11/29 10:37:11 mglocker Exp $ */ +/* $OpenBSD: if_malo_cardbus.c,v 1.6 2009/03/29 21:53:52 sthen Exp $ */ /* * Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org> @@ -109,7 +109,7 @@ malo_cardbus_attach(struct device *parent, struct device *self, void *aux) CARDBUS_MAPREG_TYPE_MEM, 0, &sc->sc_mem1_bt, &sc->sc_mem1_bh, &base, &csc->sc_mapsize1); if (error != 0) { - printf(": could not map 1st memory space\n"); + printf(": can't map mem1 space\n"); return; } csc->sc_bar1_val = base | CARDBUS_MAPREG_TYPE_MEM; @@ -119,7 +119,7 @@ malo_cardbus_attach(struct device *parent, struct device *self, void *aux) CARDBUS_MAPREG_TYPE_MEM, 0, &sc->sc_mem2_bt, &sc->sc_mem2_bh, &base, &csc->sc_mapsize2); if (error != 0) { - printf(": could not map 2nd memory space\n"); + printf(": can't map mem2 space\n"); Cardbus_mapreg_unmap(ct, CARDBUS_BASE0_REG, sc->sc_mem1_bt, sc->sc_mem1_bh, csc->sc_mapsize1); return; |