From 508c6f650260a6df03d9aef12c2fa656a16266d4 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Thu, 10 May 2007 15:00:39 +0000 Subject: Fix missing newlines in iptables-save/restore output (Pavol Rusnak ) Bugzilla #568 --- ip6tables-restore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ip6tables-restore.c') 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; -- cgit v1.2.3