diff options
author | 2006-01-30 12:15:06 +0000 | |
---|---|---|
committer | 2006-01-30 12:15:06 +0000 | |
commit | cc8f407e45b7a0e2840f6ed7a823c56c108e3ae1 (patch) | |
tree | 6e6b657862e4fb37178445c4fdcf36ede3c2c43c | |
parent | Add basic radiotap support. Modelled somewhat after (diff) | |
download | wireguard-openbsd-cc8f407e45b7a0e2840f6ed7a823c56c108e3ae1.tar.xz wireguard-openbsd-cc8f407e45b7a0e2840f6ed7a823c56c108e3ae1.zip |
pretty printf, for 32bit mode
ok miod@
-rw-r--r-- | sys/arch/mac68k/dev/macfb.c | 6 |
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); |