diff options
author | SG <who.just.the.doctor@gmail.com> | 2021-08-09 04:27:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-09 04:27:51 +0300 |
commit | c799fcf41626a09931a06deb244eb49769825bb6 (patch) | |
tree | 78055da58b510d65071595923c84136837a6aa1d /applications/storage | |
parent | 0a97d6913c1a48156e3e2d8f339e027a003f948f (diff) |
Storage: fixed internal info if name is null (#631)
Diffstat (limited to 'applications/storage')
-rw-r--r-- | applications/storage/storage-cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/storage/storage-cli.c b/applications/storage/storage-cli.c index ed76b2d1..a67378a3 100644 --- a/applications/storage/storage-cli.c +++ b/applications/storage/storage-cli.c @@ -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)); } |