]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
setarch: fix typo (missing braces) for ppcle
authorRuediger Meier <ruediger.meier@ga-group.nl>
Mon, 9 Feb 2015 15:11:02 +0000 (16:11 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 10 Feb 2015 10:18:51 +0000 (11:18 +0100)
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

index c8ca5f8e7283ab9c97b625748763f7ad89a922ef..76892ab4fe3a8e42ae19f79bb825598d3dc6b1b9 100644 (file)
@@ -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__)