[systemd-commits] 2 commits - man/systemd-cat.xml src/binfmt
Lennart Poettering
lennart at kemper.freedesktop.org
Wed Mar 21 16:36:09 PDT 2012
man/systemd-cat.xml | 2 +-
src/binfmt/binfmt.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 170dcb7bd575f61aa75ce55d7fc0183ace6b8b76
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 22 00:35:42 2012 +0100
binfmt: fix apply loop
Noticed by Sergey Ptashnick
diff --git a/src/binfmt/binfmt.c b/src/binfmt/binfmt.c
index 28925ac..3c8d815 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;
}
commit 9adf646d0ae85192027319e2f47f2d092a298d99
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 22 00:35:19 2012 +0100
man: systemd-cat(1) typo fix
Noticed by Sergey Ptashnick
diff --git a/man/systemd-cat.xml b/man/systemd-cat.xml
index 5e5431f..350a345 100644
--- a/man/systemd-cat.xml
+++ b/man/systemd-cat.xml
@@ -66,7 +66,7 @@
generates to the journal.</para>
<para>If no parameter is passed
- <command>systemd-command</command> will write
+ <command>systemd-cat</command> will write
everything it reads from standard input (STDIN) to the journal.</para>
<para>If parameters are passed they are executed as
More information about the systemd-commits
mailing list