From: Simon Wilkinson Date: Sat, 14 May 2011 07:37:31 +0000 (+0100) Subject: rxperf: -S takes an argument X-Git-Tag: upstream/1.8.0_pre1^2~3664 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=80b3648e6d8fd96bdb57d47e56b28b30e42eb303;p=packages%2Fo%2Fopenafs.git rxperf: -S takes an argument The -S option to rxperf (which permits the maximum number of server threads to be set) takes a parameter. Update the getopt string so that we can give it one. Change-Id: I7effc276743d7007f8a376534b4de1650f731b64 Reviewed-on: http://gerrit.openafs.org/4801 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- diff --git a/src/rx/test/rxperf.c b/src/rx/test/rxperf.c index 30461f580..ea7f57682 100644 --- a/src/rx/test/rxperf.c +++ b/src/rx/test/rxperf.c @@ -950,7 +950,7 @@ rxperf_server(int argc, char **argv) char *ptr; int ch; - while ((ch = getopt(argc, argv, "r:d:p:P:w:W:HNjm:u:4:s:SV")) != -1) { + while ((ch = getopt(argc, argv, "r:d:p:P:w:W:HNjm:u:4:s:S:V")) != -1) { switch (ch) { case 'd': #ifdef RXDEBUG