ppc64-diag/ppc64-diag-2.7.8-opal-dump-parse-getopt.patch

13 lines
533 B
Diff

diff -up ppc64-diag-2.7.8/opal-dump-parse/opal-dump-parse.c.me ppc64-diag-2.7.8/opal-dump-parse/opal-dump-parse.c
--- ppc64-diag-2.7.8/opal-dump-parse/opal-dump-parse.c.me 2022-05-14 06:21:01.745290071 -0400
+++ ppc64-diag-2.7.8/opal-dump-parse/opal-dump-parse.c 2022-05-14 07:30:08.240914514 -0400
@@ -462,7 +462,7 @@ int main(int argc, char *argv[])
{
int opt = 0;
- while ((opt = getopt(argc, argv, "lh:s:o:")) != -1) {
+ while ((opt = getopt(argc, argv, "hl:s:o:")) != -1) {
switch (opt) {
case 'l':
opt_mdst = 1;