All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Menzel <paulepanter at users.sourceforge.net>
To: powertop@lists.01.org
Subject: [Powertop] [PATCH] cpu: Add space after comma
Date: Fri, 30 Dec 2016 12:23:16 +0100	[thread overview]
Message-ID: <1483096996.3846.56.camel@users.sourceforge.net> (raw)

[-- 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 --]

                 reply	other threads:[~2016-12-30 11:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1483096996.3846.56.camel@users.sourceforge.net \
    --to=powertop@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.