Merge pull request #2256 from goeiecool9999/logfix

network.c: fix log statement
This commit is contained in:
Miran Grča
2022-04-20 00:48:51 +02:00
committed by GitHub

View File

@@ -541,12 +541,12 @@ network_reset(void)
network_log("NETWORK: set up for %s, card='%s'\n",
(network_type==NET_TYPE_SLIRP)?"SLiRP":"Pcap",
net_cards[network_card].name);
net_cards[network_card].device->name);
/* Add the (new?) card to the I/O system. */
if (net_cards[network_card].device) {
network_log("NETWORK: adding device '%s'\n",
net_cards[network_card].name);
net_cards[network_card].device->name);
device_add(net_cards[network_card].device);
}
}