aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/arg-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/arg-test.c')
-rw-r--r--test/arg-test.c2
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 ++) {