summaryrefslogtreecommitdiffstats
path: root/bwbar/build/patches/bwbar_proc_net_2.6.x_fix.patch
blob: c42be30d41cf28782bb47738f3bb563c69897e52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Dmitry B. Khlonin <dmitry@dungeon.dorms.spbu.ru>
Description: extend width of parsed interface names
Bug-Debian: https://bugs.debian.org/246054

--- a/bwbar.c
+++ b/bwbar.c
@@ -317,7 +317,7 @@
 
     /* Get interface info */
     do {
-      if ( fscanf(pnd, " %6[^:]:%u %u %u %u %u %u %u %u %u %u %u %u %u %u %u %u",
+      if ( fscanf(pnd, " %15[^:]:%u %u %u %u %u %u %u %u %u %u %u %u %u %u %u %u",
 		  ifc.name,
 		  &ifc.r_bytes, &ifc.r_pkt, &ifc.r_err, &ifc.r_drop,
 		  &ifc.r_fifo, &ifc.r_frame, &ifc.r_compr, &ifc.r_mcast,