summaryrefslogtreecommitdiffstats
path: root/lib/libcurses/base/vsscanf.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2015-09-26 22:00:00 +0000
committerkettenis <kettenis@openbsd.org>2015-09-26 22:00:00 +0000
commit8e979983819fcb363cece6e253d220806bdff259 (patch)
treed114b97a829f9e4e2a889648d2faf7abe16dcec0 /lib/libcurses/base/vsscanf.c
parentwhitespace (diff)
downloadwireguard-openbsd-8e979983819fcb363cece6e253d220806bdff259.tar.xz
wireguard-openbsd-8e979983819fcb363cece6e253d220806bdff259.zip
Try a little bit harder to clean up if attaching inteldrm(4) fails.
The crucial bit is that we now clear dev->dev_priv, which prevents the X server from opening /dev/drmN and crashing the kernel because the driver isn't fully initialized. While there, try a little bit harder to print error messages the proper way. Things will still look ugly though if the failure is somewhere in the Linux code.
Diffstat (limited to 'lib/libcurses/base/vsscanf.c')
0 files changed, 0 insertions, 0 deletions