diff --git a/lib/string_helpers.c b/lib/string_helpers.c
index 230020a2e076ce9e14e2a2c960218eac5f6e0134..df3ecc167ccf40dee0b3e3a77c73010f1e6fff0a 100644
--- a/lib/string_helpers.c
+++ b/lib/string_helpers.c
@@ -52,7 +52,7 @@ void string_get_size(u64 size, u64 blk_size, const enum string_size_units units,
 	static const unsigned int rounding[] = { 500, 50, 5 };
 	int i = 0, j;
 	u32 remainder = 0, sf_cap;
-	char tmp[8];
+	char tmp[12];
 	const char *unit;
 
 	tmp[0] = '\0';