aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuediger Meier <ruediger.meier@ga-group.nl>2015-02-09 16:11:02 +0100
committerKarel Zak <kzak@redhat.com>2015-02-10 11:18:51 +0100
commitd9ca5dd4426c8bcc779750362bf905395b1b08ef (patch)
tree6c915ffa78f09ed2b223612efed6ff026a23e056
parenta79735f69a9114715ff29e1c1b73eea7651e8e79 (diff)
downloadutil-linux-playground-d9ca5dd4426c8bcc779750362bf905395b1b08ef.tar.gz
setarch: fix typo (missing braces) for ppcle
Introduced in 77eb13b9, noticed on ppc64le. CC: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
-rw-r--r--sys-utils/setarch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-utils/setarch.c b/sys-utils/setarch.c
index c8ca5f8e72..76892ab4fe 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__)