From: Ruediger Meier Date: Mon, 9 Feb 2015 15:11:02 +0000 (+0100) Subject: setarch: fix typo (missing braces) for ppcle X-Git-Tag: v2.26~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9ca5dd4426c8bcc779750362bf905395b1b08ef;p=thirdparty%2Futil-linux.git setarch: fix typo (missing braces) for ppcle Introduced in 77eb13b9, noticed on ppc64le. CC: Sami Kerola Signed-off-by: Ruediger Meier --- 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__)