diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-03-21 10:03:15 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-07 19:19:03 -0400 |
commit | 6605428c506bea269ca6c4aed85e97fbee2cbe7b (patch) | |
tree | a125004400897cc415443c2691565a1d5a7b17ef /arch/mips/bcm63xx/setup.c | |
parent | 8a398d757dd0f56c8ac621104b198ff66eef7a7a (diff) |
MIPS: BCM63XX: fix revision ID width
The REVID is only 8 bit wide.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5007/
Acked-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/bcm63xx/setup.c')
-rw-r--r-- | arch/mips/bcm63xx/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/bcm63xx/setup.c b/arch/mips/bcm63xx/setup.c index 35e18e98beb9..911fd7df49e5 100644 --- a/arch/mips/bcm63xx/setup.c +++ b/arch/mips/bcm63xx/setup.c | |||
@@ -126,7 +126,7 @@ static void __bcm63xx_machine_reboot(char *p) | |||
126 | const char *get_system_type(void) | 126 | const char *get_system_type(void) |
127 | { | 127 | { |
128 | static char buf[128]; | 128 | static char buf[128]; |
129 | snprintf(buf, sizeof(buf), "bcm63xx/%s (0x%04x/0x%04X)", | 129 | snprintf(buf, sizeof(buf), "bcm63xx/%s (0x%04x/0x%02X)", |
130 | board_get_name(), | 130 | board_get_name(), |
131 | bcm63xx_get_cpu_id(), bcm63xx_get_cpu_rev()); | 131 | bcm63xx_get_cpu_id(), bcm63xx_get_cpu_rev()); |
132 | return buf; | 132 | return buf; |