]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
fix typo in ip batch error message
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 21 Jan 2008 21:46:08 +0000 (13:46 -0800)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 21 Jan 2008 21:46:08 +0000 (13:46 -0800)
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
ip/ip.c

diff --git a/ip/ip.c b/ip/ip.c
index 4bdb83b356bc72d8f917bbfd3db3ec5ef4790af6..aeb8c68c93241df15c8ceeb0a8093ef096c2c08f 100644 (file)
--- a/ip/ip.c
+++ b/ip/ip.c
@@ -103,7 +103,7 @@ static int batch(const char *name)
 
        if (name && strcmp(name, "-") != 0) {
                if (freopen(name, "r", stdin) == NULL) {
-                       fprintf(stderr, "Cannot open file \"%s\" for reading: %s=n",
+                       fprintf(stderr, "Cannot open file \"%s\" for reading: %s\n",
                                name, strerror(errno));
                        return -1;
                }