diff options
author | Jani Nikula <jani@nikula.org> | 2012-12-04 00:54:52 +0200 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-12-04 09:07:32 -0400 |
commit | 7f54db1f04f6d0d0e7edc917ea634badd5d4d679 (patch) | |
tree | 6e5e0dc73c65237183ad4d2c137093340b8329c2 /test/arg-test.c | |
parent | bd918e35d460fcb3bbb8c2e2fe1bc9d5410c53e6 (diff) |
test: fix an evident copy-paste error in argument parsing test
Diffstat (limited to 'test/arg-test.c')
-rw-r--r-- | test/arg-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/arg-test.c b/test/arg-test.c index adc56e30..6c49eacd 100644 --- a/test/arg-test.c +++ b/test/arg-test.c @@ -41,7 +41,7 @@ int main(int argc, char **argv){ printf("positional arg 1 %s\n", pos_arg1); if (pos_arg2) - printf("positional arg 2 %s\n", pos_arg1); + printf("positional arg 2 %s\n", pos_arg2); for ( ; opt_index < argc ; opt_index ++) { |