From fc31983958f491eb651058521f0d9761b4dd1484 Mon Sep 17 00:00:00 2001 From: juntt <1369330248@qq.com> Date: Wed, 6 Jul 2022 03:03:28 +0000 Subject: [PATCH] =?UTF-8?q?update=20tracker/fdfs=5Fshared=5Ffunc.c.=20trac?= =?UTF-8?q?ker.conf=E4=B8=AD=E9=85=8D=E7=BD=AE=E4=B8=BA=E5=AE=B9=E9=87=8F?= =?UTF-8?q?=E6=97=B6=20reserved=5Fstorage=5Fspace=20=3D=201g=20storage?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E6=8A=A5=E9=94=99=E6=97=A5=E5=BF=97=20[2022-?= =?UTF-8?q?07-05=2018:12:09]=20ERROR=20-=20file:=20shared=5Ffunc.c,=20line?= =?UTF-8?q?:=202449,=20unkown=20byte=20unit:=20=20MB,=20input=20string:=20?= =?UTF-8?q?1024=20MB=20[2022-07-05=2018:12:09]=20CRIT=20-=20exit=20abnorma?= =?UTF-8?q?lly!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tracker/fdfs_shared_func.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracker/fdfs_shared_func.c b/tracker/fdfs_shared_func.c index 8d07163..1bd9f30 100644 --- a/tracker/fdfs_shared_func.c +++ b/tracker/fdfs_shared_func.c @@ -267,7 +267,7 @@ const char *fdfs_storage_reserved_space_to_string(FDFSStorageReservedSpace \ if (pStorageReservedSpace->flag == \ TRACKER_STORAGE_RESERVED_SPACE_FLAG_MB) { - sprintf(buff, "%d MB", pStorageReservedSpace->rs.mb); + sprintf(buff, "%dMB", pStorageReservedSpace->rs.mb); } else {