From 285059e50453a93642efd4bf428b0835085ce217 Mon Sep 17 00:00:00 2001 From: Balazs Gerofi Date: Wed, 18 Oct 2017 15:13:47 +0900 Subject: [PATCH] mcexec: use -M for --mpol-threshold Conflicts: executer/user/mcexec.c --- executer/user/mcexec.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/executer/user/mcexec.c b/executer/user/mcexec.c index e835913a..1d064d63 100644 --- a/executer/user/mcexec.c +++ b/executer/user/mcexec.c @@ -1640,7 +1640,7 @@ static struct option mcexec_options[] = { .name = "mpol-threshold", .has_arg = required_argument, .flag = NULL, - .val = 'm', + .val = 'M', }, { .name = "disable-sched-yield", @@ -1869,9 +1869,9 @@ int main(int argc, char **argv) /* Parse options ("+" denotes stop at the first non-option) */ #ifdef ADD_ENVS_OPTION - while ((opt = getopt_long(argc, argv, "+c:n:t:m:h:e:s:", mcexec_options, NULL)) != -1) { + while ((opt = getopt_long(argc, argv, "+c:n:t:M:h:e:s:", mcexec_options, NULL)) != -1) { #else /* ADD_ENVS_OPTION */ - while ((opt = getopt_long(argc, argv, "+c:n:t:m:h:s:", mcexec_options, NULL)) != -1) { + while ((opt = getopt_long(argc, argv, "+c:n:t:M:h:s:", mcexec_options, NULL)) != -1) { #endif /* ADD_ENVS_OPTION */ switch (opt) { char *tmp; @@ -1900,7 +1900,7 @@ int main(int argc, char **argv) } break; - case 'm': + case 'M': mpol_threshold = atobytes(optarg); break;