Browse Source

Change to fmt_human in netspeeds on OpenBSD

Thanks to Hiltjo
Aaron Marcher 7 năm trước cách đây
mục cha
commit
cbbf59fd3d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      components/netspeeds.c

+ 1 - 1
components/netspeeds.c

@@ -133,7 +133,7 @@
 			return NULL;
 		}
 
-		return fmt_human_2((txbytes - oldtxbytes) * 1000 / interval,
+		return fmt_human((txbytes - oldtxbytes) * 1000 / interval,
 		                   1024);
 	}
 #endif