summaryrefslogtreecommitdiffstats
path: root/ip/ipaddress.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-01-26 11:08:31 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-01-26 11:08:31 -0800
commit1fb0a998e1a8cb26a1f7fe1f79e2e3654aafdc93 (patch)
treeb330100ed9cbf23965b01a3e2033a997eb231f63 /ip/ipaddress.c
parentaa8032e628405c1318271fc928babbc06ab12d62 (diff)
remove extra newline from perror() calls
perror error adds a newline, so don't split error message across two lines.
Diffstat (limited to 'ip/ipaddress.c')
-rw-r--r--ip/ipaddress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ip/ipaddress.c b/ip/ipaddress.c
index d1c66204..6dc61eba 100644
--- a/ip/ipaddress.c
+++ b/ip/ipaddress.c
@@ -317,7 +317,7 @@ int print_linkinfo(const struct sockaddr_nl *who,
static int flush_update(void)
{
if (rtnl_send(&rth, filter.flushb, filter.flushp) < 0) {
- perror("Failed to send flush request\n");
+ perror("Failed to send flush request");
return -1;
}
filter.flushp = 0;