mirror of
https://github.com/simh/simh.git
synced 2026-04-28 12:47:25 +00:00
ETHER: Avoid meaningless "No description available" output when opening device.
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user