diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-03-22 00:35:42 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-03-22 00:35:42 +0100 |
commit | 170dcb7bd575f61aa75ce55d7fc0183ace6b8b76 (patch) | |
tree | b3bbf7fdf947d1d4a945e2216544f1978e972719 /src/binfmt/binfmt.c | |
parent | 9adf646d0ae85192027319e2f47f2d092a298d99 (diff) |
binfmt: fix apply loop
Noticed by Sergey Ptashnick
Diffstat (limited to 'src/binfmt/binfmt.c')
-rw-r--r-- | src/binfmt/binfmt.c | 2 |
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; } |