Skip to content

Commit d5691fe

Browse files
committed
Fix MQX example null deref
1 parent 5aa2840 commit d5691fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mqx/util_lib/Sources/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ int sdcard_open(MQX_FILE_PTR *com_handle, MQX_FILE_PTR *sdcard_handle,
8888
/* Open partition manager */
8989
*partman_handle = fopen(partman_name, NULL);
9090
if (*partman_handle == NULL) {
91-
printf("Error opening partition manager: %s\n");
91+
printf("Error opening partition manager\n");
9292
return -64;
9393
}
9494

0 commit comments

Comments
 (0)