From 066327b75d7bb16a350b11114d3a6bcad12e12bb Mon Sep 17 00:00:00 2001
From: Rob Swindell <rob@synchro.net>
Date: Sun, 3 Apr 2022 15:49:03 -0700
Subject: [PATCH] Remove the 'B' suffix in file_size_float() output

To match behavior of changed xpdev->byte_estimated_to_str().

If the caller wants a 'B' suffix, they can add it.
---
 exec/load/file_size.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/load/file_size.js b/exec/load/file_size.js
index 64f76fe7aa..3f08725e51 100644
--- a/exec/load/file_size.js
+++ b/exec/load/file_size.js
@@ -78,5 +78,5 @@ function file_size_float(size, unit, precision)
 	else if(size >= one_kibibyte || unit == one_kibibyte)
 		return format("%1.*fK", precision, size/one_kibibyte);
 	else
-		return format("%luB", size);
+		return format("%lu", size);
 }
-- 
GitLab