summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/stdio.c
diff options
context:
space:
mode:
authorgavin <gavin@FreeBSD.org>2014-05-07 21:38:33 +0000
committergavin <gavin@FreeBSD.org>2014-05-07 21:38:33 +0000
commitd41ec318f9450a569a2d83b56c63243d8f513c51 (patch)
treeaf11e30137ca09e2c01cda3bffaad7ba298b02bd /lib/libc/stdio/stdio.c
parentff6061264f66e81c86ccd62cec9ceee03ecac27f (diff)
downloadFreeBSD-src-d41ec318f9450a569a2d83b56c63243d8f513c51.zip
FreeBSD-src-d41ec318f9450a569a2d83b56c63243d8f513c51.tar.gz
Merge r259393 from head:
Fix several panics when initialization of an ISA or PC-CARD device fails: o Assign sc->an_dev in an_probe() (which isn't really a probe function in the standard newbus sense) as we may need it for printing errors. o Use device_printf() rather than if_printf() in an_reset() - this is called from an_probe() long before the ifp structure is initialised in an_attach(). o Initialize the ifp structure early in an_attach() as we use if_printf() in cases where allocation of descriptors etc fails.
Diffstat (limited to 'lib/libc/stdio/stdio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud