aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-11-26 20:58:27 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2012-11-26 20:58:27 +0100
commitd260b3b40358aaa9a159681271e7420842015a61 (patch)
tree52a2b4701607a3ff6fd49f6ed8d2176e6f3bb69c /elf
parent3e2e43e2504b5dd2768afc0f8b6de77849f5a376 (diff)
downloadglibc-d260b3b40358aaa9a159681271e7420842015a61.zip
glibc-d260b3b40358aaa9a159681271e7420842015a61.tar.gz
glibc-d260b3b40358aaa9a159681271e7420842015a61.tar.bz2
sotruss: fix argument parsing
Diffstat (limited to 'elf')
-rwxr-xr-xelf/sotruss.ksh4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/sotruss.ksh b/elf/sotruss.ksh
index 587ab68..8390b6c 100755
--- a/elf/sotruss.ksh
+++ b/elf/sotruss.ksh
@@ -94,14 +94,14 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
do_missing_arg "$1"
fi
shift
- SOTRUSS_FROMLIST="$2"
+ SOTRUSS_FROMLIST="$1"
;;
-T | --t | --to)
if test $# -eq 1; then
do_missing_arg "$1"
fi
shift
- SOTRUSS_TOLIST="$2"
+ SOTRUSS_TOLIST="$1"
;;
-o | --o | --ou | --out | --outp | --outpu | --output)
if test $# -eq 1; then