Package: net-tools
Version: 1.60-15
Severity: minor

If the value of the RX/TX byte counter is less than 1.0 KiB, a 'b' is
displayed when the units are Bytes, rather than bits. I think you need to
change "b" to "B" when the default values are assigned to variables Rext and
Text, to be consistent with the larger units, KiB, MiB, etc.

This is an extract from net-tools_1.60-15.diff

@@ -636,8 +651,8 @@
     int hf;
     int can_compress = 0;
     unsigned long long rx, tx, short_rx, short_tx;
-    char Rext[5]="b";
-    char Text[5]="b";
+    const char *Rext = "b";
+    const char *Text = "b";
 
 #if HAVE_AFIPX
     static struct aftype *ipxtype = NULL;





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to