diff options
author | 2010-12-26 15:37:20 +0000 | |
---|---|---|
committer | 2010-12-26 15:37:20 +0000 | |
commit | 4468ebcd8c480ea508b77b62da249c841ad563df (patch) | |
tree | 4ced1fd594286ab704c381c76f7da6cf7072f929 | |
parent | Use sizeof(double) instead of hardcoding 8. (diff) | |
download | wireguard-openbsd-4468ebcd8c480ea508b77b62da249c841ad563df.tar.xz wireguard-openbsd-4468ebcd8c480ea508b77b62da249c841ad563df.zip |
Clean up how we print the sbus(4) clock speed. Purely cosmetic.
ok miod@, deraadt@
-rw-r--r-- | sys/arch/sparc/dev/sbus.c | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/sbus.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc/dev/sbus.c b/sys/arch/sparc/dev/sbus.c index 2202f56380f..0dd281dd509 100644 --- a/sys/arch/sparc/dev/sbus.c +++ b/sys/arch/sparc/dev/sbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sbus.c,v 1.18 2010/09/05 18:10:10 kettenis Exp $ */ +/* $OpenBSD: sbus.c,v 1.19 2010/12/26 15:37:20 kettenis Exp $ */ /* $NetBSD: sbus.c,v 1.17 1997/06/01 22:10:39 pk Exp $ */ /* @@ -163,7 +163,7 @@ sbus_attach(parent, self, aux) if (sc->sc_clockfreq <= 0) sc->sc_clockfreq = getpropint(findroot(), "clock-frequency", 25 * 1000 * 1000); - printf(": clock = %s MHz\n", clockfreq(sc->sc_clockfreq)); + printf(": %s MHz\n", clockfreq(sc->sc_clockfreq)); /* * Get the SBus burst transfer size if burst transfers are supported diff --git a/sys/arch/sparc64/dev/sbus.c b/sys/arch/sparc64/dev/sbus.c index 153fd547bc9..ee1f1bebc60 100644 --- a/sys/arch/sparc64/dev/sbus.c +++ b/sys/arch/sparc64/dev/sbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sbus.c,v 1.38 2010/11/11 17:58:23 miod Exp $ */ +/* $OpenBSD: sbus.c,v 1.39 2010/12/26 15:37:20 kettenis Exp $ */ /* $NetBSD: sbus.c,v 1.46 2001/10/07 20:30:41 eeh Exp $ */ /*- @@ -277,7 +277,7 @@ sbus_xbox_attach(struct device *parent, struct device *self, void *aux) * IS THIS THE CORRECT DEFAULT?? */ sc->sc_clockfreq = getpropint(node, "clock-frequency", 25*1000*1000); - printf(": clock = %s MHz\n", clockfreq(sc->sc_clockfreq)); + printf(": %s MHz\n", clockfreq(sc->sc_clockfreq)); sbus_attach_common(sc, node, 1); } |