diff options
author | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2007-05-10 15:00:39 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2007-05-10 15:00:39 +0000 |
commit | 508c6f650260a6df03d9aef12c2fa656a16266d4 (patch) | |
tree | 69dfa137024bc05e363930ff4c68855f6bcff39a /ip6tables-restore.c | |
parent | 96b5118ee9e39f49163a3c638f04488aebec244a (diff) |
Fix missing newlines in iptables-save/restore output (Pavol Rusnak <prusnak@suse.cz>)
Bugzilla #568
Diffstat (limited to 'ip6tables-restore.c')
-rw-r--r-- | ip6tables-restore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ip6tables-restore.c b/ip6tables-restore.c index df2e7d5..25c6ebd 100644 --- a/ip6tables-restore.c +++ b/ip6tables-restore.c @@ -154,13 +154,13 @@ int main(int argc, char *argv[]) if (optind == argc - 1) { in = fopen(argv[optind], "r"); if (!in) { - fprintf(stderr, "Can't open %s: %s", argv[optind], + fprintf(stderr, "Can't open %s: %s\n", argv[optind], strerror(errno)); exit(1); } } else if (optind < argc) { - fprintf(stderr, "Unknown arguments found on commandline"); + fprintf(stderr, "Unknown arguments found on commandline\n"); exit(1); } else in = stdin; |