From a46dd89e9451ec73a4df54427110cdfc28d8b031 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 12 Jul 2008 09:20:44 +0000 Subject: cpio: internalize archive_xread_all_eof. add a few paranoia checks for corrupted cpio files. modprobe-small: remove stray include route: small code shrink function old new delta get_header_cpio 958 980 +22 archive_xread_all_eof 33 - -33 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/0 up/down: 22/-33) Total: -11 bytes --- networking/route.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'networking/route.c') diff --git a/networking/route.c b/networking/route.c index f467ed3fd..7b6d4f45f 100644 --- a/networking/route.c +++ b/networking/route.c @@ -561,8 +561,8 @@ static void INET6_displayroutes(void) while (1) { int r; r = fscanf(fp, "%32s%x%*s%x%32s%x%x%x%x%s\n", - addr6x+14, &prefix_len, &slen, addr6x+40+7, - &metric, &use, &refcnt, &iflags, iface); + addr6x+14, &prefix_len, &slen, addr6x+40+7, + &metric, &use, &refcnt, &iflags, iface); if (r != 9) { if ((r < 0) && feof(fp)) { /* EOF with no (nonspace) chars read. */ break; -- cgit v1.2.3