Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/arch/arm/arm32 Pull up following revision(s) (request...
details: https://anonhg.NetBSD.org/src/rev/0eb671931b08
branches: netbsd-7
changeset: 799174:0eb671931b08
user: snj <snj%NetBSD.org@localhost>
date: Mon Apr 06 01:57:57 2015 +0000
description:
Pull up following revision(s) (requested by jmcneill in ticket #663):
sys/arch/arm/arm32/cpu.c: revision 1.105
Increase the `freqbuf' buffer that holds the result of humanize_number(). Now
it prints 1600 Mhz instead of 1 Ghz.
Pitty enough humanize_number(9) doesn't do 1.6 Ghz type output.
diffstat:
sys/arch/arm/arm32/cpu.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c15613fd22b7 -r 0eb671931b08 sys/arch/arm/arm32/cpu.c
--- a/sys/arch/arm/arm32/cpu.c Mon Apr 06 01:55:53 2015 +0000
+++ b/sys/arch/arm/arm32/cpu.c Mon Apr 06 01:57:57 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.104 2014/03/28 21:39:09 matt Exp $ */
+/* $NetBSD: cpu.c,v 1.104.4.1 2015/04/06 01:57:57 snj Exp $ */
/*
* Copyright (c) 1995 Mark Brinicombe.
@@ -46,7 +46,7 @@
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.104 2014/03/28 21:39:09 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.104.4.1 2015/04/06 01:57:57 snj Exp $");
#include <sys/systm.h>
#include <sys/conf.h>
@@ -651,7 +651,7 @@
}
if (ci->ci_data.cpu_cc_freq != 0) {
- char freqbuf[8];
+ char freqbuf[10];
humanize_number(freqbuf, sizeof(freqbuf), ci->ci_data.cpu_cc_freq,
"Hz", 1000);
Home |
Main Index |
Thread Index |
Old Index