ETHER: Avoid meaningless "No description available" output when opening device.
This commit is contained in:
parent
1cd8925894
commit
7ad92f15fd
1 changed files with 2 additions and 0 deletions
|
@ -2109,6 +2109,8 @@ if (errbuf[0]) {
|
||||||
if (r != SCPE_OK)
|
if (r != SCPE_OK)
|
||||||
return r;
|
return r;
|
||||||
|
|
||||||
|
if (!strcmp (desc, "No description available"))
|
||||||
|
strcpy (desc, "");
|
||||||
sim_printf ("Eth: opened OS device %s%s%s\r\n", savname, desc[0] ? " - " : "", desc);
|
sim_printf ("Eth: opened OS device %s%s%s\r\n", savname, desc[0] ? " - " : "", desc);
|
||||||
|
|
||||||
/* get the NIC's hardware MAC address */
|
/* get the NIC's hardware MAC address */
|
||||||
|
|
Loading…
Add table
Reference in a new issue