summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/binfmt/binfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binfmt/binfmt.c b/src/binfmt/binfmt.c
index 28925ac84b..3c8d815d64 100644
--- a/src/binfmt/binfmt.c
+++ b/src/binfmt/binfmt.c
@@ -130,7 +130,7 @@ int main(int argc, char *argv[]) {
for (i = 1; i < argc; i++) {
int k;
- k = apply_file(argv[1], false);
+ k = apply_file(argv[i], false);
if (k < 0 && r == 0)
r = k;
}