Util-Linux package development
 help / color / mirror / Atom feed
From: Ruediger Meier <sweet_f_a@gmx.de>
To: util-linux@vger.kernel.org
Cc: Sami Kerola <kerolasa@iki.fi>
Subject: [PATCH 2/2] setarch: fix typo (missing braces) for ppcle
Date: Mon,  9 Feb 2015 16:11:02 +0100	[thread overview]
Message-ID: <1423494662-2658-3-git-send-email-sweet_f_a@gmx.de> (raw)
In-Reply-To: <1423494662-2658-1-git-send-email-sweet_f_a@gmx.de>

From: Ruediger Meier <ruediger.meier@ga-group.nl>

Introduced in 77eb13b9, noticed on ppc64le.

CC: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
---
 sys-utils/setarch.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-utils/setarch.c b/sys-utils/setarch.c
index c8ca5f8..76892ab 100644
--- a/sys-utils/setarch.c
+++ b/sys-utils/setarch.c
@@ -160,9 +160,9 @@ static int set_arch(const char *pers, unsigned long options, int list)
 		{PER_LINUX,	"ppc64pseries",	"ppc64"},
 		{PER_LINUX,	"ppc64iseries",	"ppc64"},
 # else
-		PER_LINUX32,	"ppc32le",	"ppcle"},
-		PER_LINUX32,	"ppcle",	"ppcle"},
-		PER_LINUX,	"ppc64le",	"ppc64le"},
+		{PER_LINUX32,	"ppc32le",	"ppcle"},
+		{PER_LINUX32,	"ppcle",	"ppcle"},
+		{PER_LINUX,	"ppc64le",	"ppc64le"},
 # endif
 #endif
 #if defined(__x86_64__) || defined(__i386__) || defined(__ia64__)
-- 
1.8.4.5


  parent reply	other threads:[~2015-02-09 15:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-09 15:11 [PATCH 0/2] some ppc fixes for 2.26-rc2 Ruediger Meier
2015-02-09 15:11 ` [PATCH 1/2] cal: use int64_t instead of long Ruediger Meier
2015-02-09 15:11 ` Ruediger Meier [this message]
2015-02-10 10:29 ` [PATCH 0/2] some ppc fixes for 2.26-rc2 Karel Zak

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=1423494662-2658-3-git-send-email-sweet_f_a@gmx.de \
    --to=sweet_f_a@gmx.de \
    --cc=kerolasa@iki.fi \
    --cc=util-linux@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox