Fix MQX example null deref

This commit is contained in:
Eric Blankenhorn
2025-12-17 09:35:01 -06:00
parent 5aa2840bed
commit d5691fe849

View File

@@ -88,7 +88,7 @@ int sdcard_open(MQX_FILE_PTR *com_handle, MQX_FILE_PTR *sdcard_handle,
/* Open partition manager */
*partman_handle = fopen(partman_name, NULL);
if (*partman_handle == NULL) {
printf("Error opening partition manager: %s\n");
printf("Error opening partition manager\n");
return -64;
}