Sometimes I can't remember my own code.

This commit is contained in:
waltje
2017-10-19 21:30:31 -04:00
parent 0659f5fe6a
commit 2f490728ca

View File

@@ -1884,8 +1884,10 @@ nic_init(device_t *info)
int i;
/* Get the desired debug level. */
#ifdef ENABLE_NIC_LOG
i = device_get_config_int("debug");
if (i > 0) nic_do_log = i;
#endif
dev = malloc(sizeof(nic_t));
memset(dev, 0x00, sizeof(nic_t));