summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2006-01-30 12:15:07 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2006-01-30 12:15:07 +0000
commit5920e1942b2f0a290cb75cf2720ddd786d55ea6d (patch)
treeb37083c533d7f705ee13ba2ddecdae847eea182a /sys
parentba44403ff43dd599599373590bd054284fc5e216 (diff)
pretty printf, for 32bit mode
ok miod@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mac68k/dev/macfb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mac68k/dev/macfb.c b/sys/arch/mac68k/dev/macfb.c
index 6195ffb422c..5e552ed6ee8 100644
--- a/sys/arch/mac68k/dev/macfb.c
+++ b/sys/arch/mac68k/dev/macfb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macfb.c,v 1.10 2006/01/23 19:05:23 miod Exp $ */
+/* $OpenBSD: macfb.c,v 1.11 2006/01/30 12:15:06 martin Exp $ */
/* $NetBSD: macfb.c,v 1.11 2005/01/15 16:00:59 chs Exp $ */
/*
* Copyright (c) 1998 Matt DeBergalis
@@ -256,11 +256,11 @@ macfb_attach_common(struct macfb_softc *sc, struct macfb_devconfig *dc)
int isconsole;
/* Print hardware characteristics. */
- printf("%s: %dx%d ", sc->sc_dev.dv_xname, dc->dc_wid, dc->dc_ht);
+ printf("%s: %dx%d, ", sc->sc_dev.dv_xname, dc->dc_wid, dc->dc_ht);
if (dc->dc_depth == 1)
printf("monochrome");
else
- printf("%d color", 1 << dc->dc_depth);
+ printf("%dbit color", dc->dc_depth);
printf(" display\n");
isconsole = macfb_is_console(sc->sc_basepa + dc->dc_offset);