Skip to content

Commit

Permalink
Merge pull request #110 from skliper/fix109-uninit_filestats
Browse files Browse the repository at this point in the history
Fix #109, Uninitialized FileStats in FM_GetVolumeFreeSpace
  • Loading branch information
dzbaker authored Aug 31, 2023
2 parents 98283b6 + eb8c99e commit 4c8c383
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 4c8c383

Please sign in to comment.