summaryrefslogtreecommitdiff
path: root/kexec/arch/ppc/kexec-dol-ppc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/ppc/kexec-dol-ppc.c')
-rw-r--r--kexec/arch/ppc/kexec-dol-ppc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexec/arch/ppc/kexec-dol-ppc.c b/kexec/arch/ppc/kexec-dol-ppc.c
index 83c122a..8de5293 100644
--- a/kexec/arch/ppc/kexec-dol-ppc.c
+++ b/kexec/arch/ppc/kexec-dol-ppc.c
@@ -335,8 +335,8 @@ int dol_ppc_load(int argc, char **argv, const char *buf, off_t UNUSED(len),
unsigned long lowest_start;
int i, j, k;
int opt;
-#define OPT_APPEND (OPT_ARCH_MAX+0)
+ /* See options.h -- add any more there, too. */
static const struct option options[] = {
KEXEC_ARCH_OPTIONS
{"debug", 0, 0, OPT_DEBUG},
@@ -344,7 +344,7 @@ int dol_ppc_load(int argc, char **argv, const char *buf, off_t UNUSED(len),
{"append", 1, 0, OPT_APPEND},
{0, 0, 0, 0},
};
- static const char short_options[] = KEXEC_ARCH_OPT_STR "d";
+ static const char short_options[] = KEXEC_ARCH_OPT_STR;
/*
* Parse the command line arguments