summaryrefslogtreecommitdiffstats
path: root/sys/arm/arm
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2017-05-11 14:02:29 -0500
committerLuiz Souza <luiz@netgate.com>2017-07-20 15:24:56 -0500
commitb2f0c6c57c61b6cbddd280ae37a0dfb5a519e26b (patch)
treeeb6c7d725830fd67e09d83a65c93ace945765265 /sys/arm/arm
parent12830c59aa9b6fd41c034ee676540620bbd135ec (diff)
downloadFreeBSD-src-b2f0c6c57c61b6cbddd280ae37a0dfb5a519e26b.zip
FreeBSD-src-b2f0c6c57c61b6cbddd280ae37a0dfb5a519e26b.tar.gz
Remove the extra '\n' at end of the sysctl string.
(cherry picked from commit bb384dc82cb142648a128a751b58a93bda0adcd3)
Diffstat (limited to 'sys/arm/arm')
-rw-r--r--sys/arm/arm/identcpu-v6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/identcpu-v6.c b/sys/arm/arm/identcpu-v6.c
index 4c4ea86..f525731 100644
--- a/sys/arm/arm/identcpu-v6.c
+++ b/sys/arm/arm/identcpu-v6.c
@@ -271,7 +271,7 @@ identify_arm_cpu(void)
cpu_names[i].part_number == cpuinfo.part_number) {
memset(cpu_model, 0, sizeof(cpu_model));
snprintf(cpu_model, sizeof(cpu_model) - 1,
- "CPU: %s %s r%dp%d (ECO: 0x%08X)\n",
+ "CPU: %s %s r%dp%d (ECO: 0x%08X)",
cpu_names[i].impl_name, cpu_names[i].core_name,
cpuinfo.revision, cpuinfo.patch,
cpuinfo.midr != cpuinfo.revidr ?
OpenPOWER on IntegriCloud