From 972af09e79618c5086e26ef6438bd38c45c4bb3f Mon Sep 17 00:00:00 2001 From: Pavel Rusnak Date: Thu, 10 May 2007 15:00:39 +0000 Subject: Fix missing newlines in iptables-save/restore output (Pavol Rusnak ) Bugzilla #568 --- iptables-restore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iptables-restore.c') diff --git a/iptables-restore.c b/iptables-restore.c index 9b8563ad..61631ae7 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; -- cgit v1.2.3