mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-05 17:20:30 +00:00
MORPHOS: Don't use unsafe sprintf and vsprintf
This commit is contained in:
parent
29f5d51972
commit
a60e8ff2cb
@ -324,7 +324,7 @@ AbstractFSList MorphOSFilesystemNode::listVolumes() const {
|
||||
volumeLock = Lock(buffer, SHARED_LOCK);
|
||||
if (volumeLock) {
|
||||
|
||||
sprintf(buffer, "%s (%s)", volName, devName);
|
||||
Common::sprintf_s(buffer, "%s (%s)", volName, devName);
|
||||
|
||||
entry = new MorphOSFilesystemNode(volumeLock, buffer);
|
||||
if (entry) {
|
||||
|
Loading…
Reference in New Issue
Block a user