Skip to content

Commit

Permalink
Fix nasa#109, Uninitialized FileStats in FM_GetVolumeFreeSpace
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Jul 17, 2023
1 parent 98283b6 commit eb8c99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsw/src/fm_cmd_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ void FM_AppendPathSep(char *Directory, uint32 BufferSize)

CFE_Status_t FM_GetVolumeFreeSpace(const char *FileSys, uint64 *BlockCount, uint64 *ByteCount)
{
OS_statvfs_t FileStats;
OS_statvfs_t FileStats = {0};
osal_status_t OS_Status;
CFE_Status_t Result;

Expand Down

0 comments on commit eb8c99e

Please sign in to comment.