mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-07 10:21:31 +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);
|
volumeLock = Lock(buffer, SHARED_LOCK);
|
||||||
if (volumeLock) {
|
if (volumeLock) {
|
||||||
|
|
||||||
sprintf(buffer, "%s (%s)", volName, devName);
|
Common::sprintf_s(buffer, "%s (%s)", volName, devName);
|
||||||
|
|
||||||
entry = new MorphOSFilesystemNode(volumeLock, buffer);
|
entry = new MorphOSFilesystemNode(volumeLock, buffer);
|
||||||
if (entry) {
|
if (entry) {
|
||||||
|
Loading…
Reference in New Issue
Block a user