update tracker/fdfs_shared_func.c.
tracker.conf中配置为容量时 reserved_storage_space = 1g storage启动报错日志 [2022-07-05 18:12:09] ERROR - file: shared_func.c, line: 2449, unkown byte unit: MB, input string: 1024 MB [2022-07-05 18:12:09] CRIT - exit abnormally!pull/585/head
parent
75e10b28f9
commit
fc31983958
|
|
@ -267,7 +267,7 @@ const char *fdfs_storage_reserved_space_to_string(FDFSStorageReservedSpace \
|
||||||
if (pStorageReservedSpace->flag == \
|
if (pStorageReservedSpace->flag == \
|
||||||
TRACKER_STORAGE_RESERVED_SPACE_FLAG_MB)
|
TRACKER_STORAGE_RESERVED_SPACE_FLAG_MB)
|
||||||
{
|
{
|
||||||
sprintf(buff, "%d MB", pStorageReservedSpace->rs.mb);
|
sprintf(buff, "%dMB", pStorageReservedSpace->rs.mb);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue