mirror of
https://github.com/open-simh/simh.git
synced 2026-01-25 19:57:36 +00:00
SCP: Add printf style format argument validation for all functions which take printf arguments.
These include: sim_printf(), sim_messagef(), Fprint() and sim_debug(). Fix current use of these functions which had invalid arguments.
This commit is contained in:
@@ -1872,7 +1872,7 @@ else
|
||||
|
||||
memset(&voa, 0, sizeof(voa));
|
||||
if (!strcmp(savname, "vde:vdedevice")) {
|
||||
sim_printf ("Eth: Must specify actual vde device name (i.e. vde:/tmp/switch)\r\n", errbuf);
|
||||
sim_printf ("Eth: Must specify actual vde device name (i.e. vde:/tmp/switch)\r\n");
|
||||
return SCPE_OPENERR;
|
||||
}
|
||||
if (!(*handle = (void*) vde_open(savname+4, "simh", &voa)))
|
||||
|
||||
Reference in New Issue
Block a user