Fix reference to sim_deb
This commit is contained in:
parent
4b163b9d1d
commit
c046a29cba
1 changed files with 2 additions and 4 deletions
|
@ -205,11 +205,9 @@ for (i=0; i<serial_open_device_count; ++i)
|
|||
|
||||
static void sim_error_serial (char *routine, int error)
|
||||
{
|
||||
extern FILE *sim_debug;
|
||||
|
||||
fprintf (stderr, "Serial: %s fails with error %d\n", routine, error);
|
||||
if (sim_debug)
|
||||
fprintf (sim_debug, "Serial: %s fails with error %d\n", routine, error);
|
||||
if (sim_deb)
|
||||
fprintf (sim_deb, "Serial: %s fails with error %d\n", routine, error);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue