commit | 44d3eb258cc9fbad0112f8457e7e9306272feaf3 | [log] [tgz] |
---|---|---|
author | net[shemminger]!shemminger <net[shemminger]!shemminger> | Thu Oct 07 18:55:51 2004 +0000 |
committer | net[shemminger]!shemminger <net[shemminger]!shemminger> | Thu Oct 07 18:55:51 2004 +0000 |
tree | 942fee5e161d91ae8b3408861612ad49db6ac8fc | |
parent | 6232f4b527b701f350675a3e399ee3681bd81688 [diff] [blame] |
Import patch iproute2-compile-fixes-1.diff (Logical change 1.93)
diff --git a/ip/ipxfrm.c b/ip/ipxfrm.c index b6228c9..4df3fb9 100644 --- a/ip/ipxfrm.c +++ b/ip/ipxfrm.c
@@ -280,7 +280,7 @@ t = (long)time; tp = localtime(&t); - strftime(str, sizeof(str), "%F %T", tp); + strftime(str, sizeof(str), "%Y-%m-%d %T", tp); } return str; @@ -410,7 +410,7 @@ } if (sel->ifindex > 0) { - char buf[IF_NAMESIZE]; + char buf[IFNAMSIZ]; memset(buf, '\0', sizeof(buf)); if_indextoname(sel->ifindex, buf);