linux-mips
[Top] [All Lists]

[patch 11/12] kexec-tools: mipsel: Fit elf_mipsel_load() into 80 columns

To: kexec@lists.infradead.org, linux-mips@linux-mips.org
Subject: [patch 11/12] kexec-tools: mipsel: Fit elf_mipsel_load() into 80 columns
From: Simon Horman <horms@verge.net.au>
Date: Thu, 06 Mar 2008 18:46:48 +0900
Cc: Tomasz Chmielewski <mangoo@wpkg.org>, Francesco Chiechi <francesco.chiechi@colibre.it>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20080306094637.669665743@vergenet.net>
Sender: linux-mips-bounce@linux-mips.org
User-agent: quilt/0.46-1
Signed-off-by: Simon Horman <horms@verge.net.au>

--- 

 kexec/arch/mipsel/kexec-elf-mipsel.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: kexec-tools-testing-mips/kexec/arch/mipsel/kexec-elf-mipsel.c
===================================================================
--- kexec-tools-testing-mips.orig/kexec/arch/mipsel/kexec-elf-mipsel.c  
2008-03-05 11:44:06.000000000 +0900
+++ kexec-tools-testing-mips/kexec/arch/mipsel/kexec-elf-mipsel.c       
2008-03-05 11:44:06.000000000 +0900
@@ -128,7 +128,8 @@ int elf_mipsel_load(int argc, char **arg
        static const char short_options[] = KEXEC_ARCH_OPT_STR "d";
 
        command_line = 0;
-       while ((opt = getopt_long(argc, argv, short_options, options, 0)) != 
-1) {
+       while ((opt = getopt_long(argc, argv, short_options,
+                                 options, 0)) != -1) {
                switch (opt) {
                default:
                        /* Ignore core options */

-- 

-- 
Horms


<Prev in Thread] Current Thread [Next in Thread>