summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2011-02-22 16:41:31 -0500
committerDave Jones <davej@redhat.com>2011-02-22 16:41:31 -0500
commit7143d3cc188a1aa18720deb2fc0345b46f2416b7 (patch)
tree077eba84849f22910e59f3e53261678940a942c4
parent672e2d845d7f088d0deb1d53bf30884179247380 (diff)
remove extra newline on single cpu systems
-rw-r--r--x86info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/x86info.c b/x86info.c
index 2ee6370..8f20a74 100644
--- a/x86info.c
+++ b/x86info.c
@@ -402,7 +402,8 @@ int main (int argc, char **argv)
if (nrSMPCPUs > nrCPUs)
printf(" (but found %ud CPUs in MPTable!)", nrSMPCPUs);
}
- printf("\n");
+ if (nrCPUs >= 2)
+ printf("\n");
display_detailed_info(cpu);
} else {