[PATCH] elf: Fix ambiguous error message for --f in sotruss [BZ #25257]

Andreas Schwab schwab@linux-m68k.org
Tue Dec 23 14:24:34 GMT 2025


On Dez 23 2025, Avinal Kumar wrote:

> diff --git a/elf/sotruss.sh b/elf/sotruss.sh
> index 8944645df9..689b3f48e0 100755
> --- a/elf/sotruss.sh
> +++ b/elf/sotruss.sh
> @@ -58,7 +58,8 @@ do_missing_arg() {
>  }
>  
>  do_ambiguous() {
> -  printf >&2 $"%s: option is ambiguous; possibilities:"
> +  printf >&2 $"%s: option is ambiguous; possibilities:" "$1"

That needs to be sotruss, not "$1".

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Libc-alpha mailing list