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 /iptables-restore.c | |
parent | 96b5118ee9e39f49163a3c638f04488aebec244a (diff) |
Fix missing newlines in iptables-save/restore output (Pavol Rusnak <prusnak@suse.cz>)
Bugzilla #568
Diffstat (limited to 'iptables-restore.c')
-rw-r--r-- | iptables-restore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iptables-restore.c b/iptables-restore.c index 9b8563a..61631ae 100644 --- a/iptables-restore.c +++ b/iptables-restore.c @@ -157,13 +157,13 @@ 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; |