mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-11 05:29:55 +00:00
debugger: disk info: sprintf -> sprintf_s
This commit is contained in:
parent
7232ebe523
commit
4b37b03ca3
@ -3630,7 +3630,7 @@ Update_t CmdDisk ( int nArgs)
|
||||
|
||||
int drive = DiskGetCurrentDrive() + 1;
|
||||
char buffer[200] = "";
|
||||
sprintf(buffer, "D%d at T$%X (%d), phase $%X, offset $%X, %s",
|
||||
sprintf_s(buffer, sizeof(buffer), "D%d at T$%X (%d), phase $%X, offset $%X, %s",
|
||||
drive,
|
||||
DiskGetCurrentTrack(),
|
||||
DiskGetCurrentTrack(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user