Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
progress: add a space between the unit and the value
Baptiste Daroussin committed 4 months ago
commit 84e11efdba659c9e45b75b91bac7e96c0db4cff5
parent 9595668
1 file changed +1 -1
modified src/event.c
@@ -121,7 +121,7 @@ format_rate_SI(char *buf, int size, off_t bytes)
		i++;
		bytes = (bytes + 500) / 1000;
	}
-
	snprintf(buf, size, "%3lld.%1lld%sB",
+
	snprintf(buf, size, "%3lld.%1lld %sB",
	    (long long) (bytes + 5) / 100,
	    (long long) (bytes + 5) / 10 % 10,
	    unit_SI[i]);