X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fbinfmt%2Fbinfmt.c;h=5bd763339e025c64cca164021cb2514a71603e8f;hb=3d9a412243035beeaaf3465a62065444a5adf21c;hp=28925ac84b488869dfe4f4c6fd42b3ffc19a5819;hpb=133176702a03e5f6264f35c403dd7720d9e05c3f;p=elogind.git diff --git a/src/binfmt/binfmt.c b/src/binfmt/binfmt.c index 28925ac84..5bd763339 100644 --- a/src/binfmt/binfmt.c +++ b/src/binfmt/binfmt.c @@ -6,16 +6,16 @@ Copyright 2010 Lennart Poettering systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. systemd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + Lesser General Public License for more details. - You should have received a copy of the GNU General Public License + You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . ***/ @@ -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; }