diff options
author | Nick Clifton <nickc@redhat.com> | 2023-12-01 09:52:11 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-12-01 09:52:11 +0000 |
commit | 1089d2017c71f9bca6e0135a7a59700274d7cfaa (patch) | |
tree | 76079729e7885c1741ea37a805d10f196c7fddfa /binutils | |
parent | 036cee3ad8dfe26975a3a8feb396f4961c60c5ae (diff) | |
download | gdb-1089d2017c71f9bca6e0135a7a59700274d7cfaa.zip gdb-1089d2017c71f9bca6e0135a7a59700274d7cfaa.tar.gz gdb-1089d2017c71f9bca6e0135a7a59700274d7cfaa.tar.bz2 |
Fix: nm -U short flag erroneously consumes argument
PR 31105
* nm.c (main): Remove spurious colon after U in the call to getopt_long
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/nm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/nm.c b/binutils/nm.c index e4c8036..54ee818 100644 --- a/binutils/nm.c +++ b/binutils/nm.c @@ -1978,7 +1978,7 @@ main (int argc, char **argv) fatal (_("fatal error: libbfd ABI mismatch")); set_default_bfd_target (); - while ((c = getopt_long (argc, argv, "aABCDef:gHhjJlnopPrSst:uU:vVvWX:", + while ((c = getopt_long (argc, argv, "aABCDef:gHhjJlnopPrSst:uUvVvWX:", long_options, (int *) 0)) != EOF) { switch (c) |