Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 318272 Details for
Bug 426770
sys-freebsd/freebsd-sources: interface field width increase patch for /proc/net/dev
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
increase /proc/dev/net interface field width
10-fix-dev-net-field-size.patch (text/plain), 489 bytes, created by
Adeel
on 2012-07-16 01:49:20 UTC
(
hide
)
Description:
increase /proc/dev/net interface field width
Filename:
MIME Type:
Creator:
Adeel
Created:
2012-07-16 01:49:20 UTC
Size:
489 bytes
patch
obsolete
>--- a/compat/linprocfs/linprocfs.c 2012-07-08 18:57:29.000000000 -0400 >+++ b/compat/linprocfs/linprocfs.c 2012-07-15 13:41:43.000000000 -0400 >@@ -1271,7 +1271,7 @@ > IFNET_RLOCK(); > TAILQ_FOREACH(ifp, &V_ifnet, if_link) { > linux_ifname(ifp, ifname, sizeof ifname); >- sbuf_printf(sb, "%6.6s: ", ifname); >+ sbuf_printf(sb, "%10s: ", ifname); > sbuf_printf(sb, "%7lu %7lu %4lu %4lu %4lu %5lu %10lu %9lu ", > ifp->if_ibytes, /* rx_bytes */ > ifp->if_ipackets, /* rx_packets */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 426770
: 318272