mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Fix dereferencing strings.
This commit is contained in:
@@ -99,8 +99,8 @@ void Timestamps(const char* path)
|
||||
|
||||
if(!rc)
|
||||
{
|
||||
memset(&message, 0, 300);
|
||||
sprintf((char*)message, DATETIME_FORMAT, mac_times[i].message, mac_times[i].type);
|
||||
memset(message, 0, 300);
|
||||
sprintf(message, DATETIME_FORMAT, mac_times[i].message, mac_times[i].type);
|
||||
count = strlen(message);
|
||||
wRc = FSWrite(refFile, &count, message);
|
||||
cRc = FSClose(refFile);
|
||||
|
||||
Reference in New Issue
Block a user