Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
progress: add a space between the unit and the value
Baptiste Daroussin committed 5 months ago
commit 84e11efdba659c9e45b75b91bac7e96c0db4cff5
parent 9595668e4067de3e6b4b17c435eee591ae9e6ba4
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]);