parent
3ec9f44fbd
commit
a66f7efee1
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ if (serial_open_device_count) {
|
||||||
for (i=0; i<serial_open_device_count; i++) {
|
for (i=0; i<serial_open_device_count; i++) {
|
||||||
d = sim_serial_getdesc_byname(serial_open_devices[i].name, desc);
|
d = sim_serial_getdesc_byname(serial_open_devices[i].name, desc);
|
||||||
fprintf(st, " %s\tLn%02d %s%s%s%s\tConfig: %s\n", serial_open_devices[i].line->mp->dptr->name, (int)(serial_open_devices[i].line->mp->ldsc-serial_open_devices[i].line),
|
fprintf(st, " %s\tLn%02d %s%s%s%s\tConfig: %s\n", serial_open_devices[i].line->mp->dptr->name, (int)(serial_open_devices[i].line->mp->ldsc-serial_open_devices[i].line),
|
||||||
serial_open_devices[i].line->destination, d ? " {" : "", d ? d : "", d ? ")" : "", serial_open_devices[i].line->serconfig);
|
serial_open_devices[i].line->destination, ((d != NULL) && (*d != '\0')) ? " (" : "", ((d != NULL) && (*d != '\0')) ? d : "", ((d != NULL) && (*d != '\0')) ? ")" : "", serial_open_devices[i].line->serconfig);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return SCPE_OK;
|
return SCPE_OK;
|
||||||
|
|
Loading…
Add table
Reference in a new issue