summaryrefslogtreecommitdiff
path: root/networking/libiproute
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-01 10:25:35 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-01 10:25:35 +0000
commit92258541449581302e180d05e827e27d35030a18 (patch)
tree99c5ad443f69860833c8ef37e142fddfedb90872 /networking/libiproute
parent048c93cc5593d53d6243c3e15dc8a5b0072a6083 (diff)
downloadbusybox-w32-92258541449581302e180d05e827e27d35030a18.tar.gz
busybox-w32-92258541449581302e180d05e827e27d35030a18.tar.bz2
busybox-w32-92258541449581302e180d05e827e27d35030a18.zip
mostly style fixes
Diffstat (limited to 'networking/libiproute')
-rw-r--r--networking/libiproute/iproute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
index 077c9190e..3b2a677d9 100644
--- a/networking/libiproute/iproute.c
+++ b/networking/libiproute/iproute.c
@@ -455,14 +455,14 @@ static int iproute_flush_cache(void)
455 char *buffer = "-1"; 455 char *buffer = "-1";
456 456
457 if (flush_fd < 0) { 457 if (flush_fd < 0) {
458 fprintf (stderr, "Cannot open \"%s\"\n", ROUTE_FLUSH_PATH); 458 fprintf(stderr, "Cannot open \"%s\"\n", ROUTE_FLUSH_PATH);
459 return -1; 459 return -1;
460 } 460 }
461 461
462 len = strlen (buffer); 462 len = strlen (buffer);
463 463
464 if ((write (flush_fd, (void *)buffer, len)) < len) { 464 if ((write (flush_fd, (void *)buffer, len)) < len) {
465 fprintf (stderr, "Cannot flush routing cache\n"); 465 fprintf(stderr, "Cannot flush routing cache\n");
466 return -1; 466 return -1;
467 } 467 }
468 close(flush_fd); 468 close(flush_fd);