Skip to content

Commit

Permalink
Merge pull request #1556 from zanzaben/fix1441_Replace_File_content_m…
Browse files Browse the repository at this point in the history
…agic_number

Fix #1441, Replace Header Content Type magic number.
  • Loading branch information
astrogeco authored May 27, 2021
2 parents 7f08fc3 + be1d5d5 commit 517a18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/fs/fsw/src/cfe_fs_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ CFE_Status_t CFE_FS_WriteHeader(osal_id_t FileDes, CFE_FS_Header_t *Hdr)
Hdr->Length = sizeof(CFE_FS_Header_t);

/* put the header, 'cfe1' in hex, in to the content type */
Hdr->ContentType = 0x63464531;
Hdr->ContentType = CFE_FS_FILE_CONTENT_ID;

/*
** Fill in the timestamp fields...
Expand Down

0 comments on commit 517a18f

Please sign in to comment.