Add missing linefeed in error message
authorStefan Weil <stefan@weilnetz.de>
Sat, 8 Aug 2009 21:33:26 +0000 (23:33 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 24 Aug 2009 13:01:40 +0000 (08:01 -0500)
The error message for an unknown network device given to
monitor command set_link looks better with a terminating
linefeed.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

net.c

diff --git a/net.c b/net.c
index 1b531e7..beba552 100644 (file)
--- a/net.c
+++ b/net.c
@@ -2917,7 +2917,7 @@ void do_set_link(Monitor *mon, const char *name, const char *up_or_down)
 done:
 
     if (!vc) {
-        monitor_printf(mon, "could not find network device '%s'", name);
+        monitor_printf(mon, "could not find network device '%s'\n", name);
         return;
     }