Storage: fixed internal info if name is null (#631)

This commit is contained in:
SG
2021-08-09 11:27:51 +10:00
committed by GitHub
parent 0a97d6913c
commit c799fcf416
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ void storage_cli_info(Cli* cli, string_t path) {
} else {
printf(
"Label: %s\r\nType: LittleFS\r\n%lu KB total\r\n%lu KB free\r\n",
furi_hal_version_get_name_ptr(),
furi_hal_version_get_name_ptr() ? furi_hal_version_get_name_ptr() : "Unknown",
(uint32_t)(total_space / 1024),
(uint32_t)(free_space / 1024));
}