powertop.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [Powertop] [PATCH] cpu: Add space after comma
@ 2016-12-30 11:23 Paul Menzel
  0 siblings, 0 replies; only message in thread
From: Paul Menzel @ 2016-12-30 11:23 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 649 bytes --]

Date: Fri, 30 Dec 2016 12:21:07 +0100

Fix up commit ab7108a6 (Fixed some potentially unterminated strings) by
adding a space after the comma.

Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
 src/cpu/cpu.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cpu/cpu.cpp b/src/cpu/cpu.cpp
index a801033..f3711f5 100644
--- a/src/cpu/cpu.cpp
+++ b/src/cpu/cpu.cpp
@@ -258,7 +258,7 @@ void enumerate_cpus(void)
 				c++;
 				if (*c == ' ')
 					c++;
-				pt_strcpy(vendor,c);
+				pt_strcpy(vendor, c);
 			}
 		}
 		if (strncmp(line, "processor\t",10) == 0) {
-- 
2.11.0

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-30 11:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-30 11:23 [Powertop] [PATCH] cpu: Add space after comma Paul Menzel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).