diff options
author | 2015-09-26 22:00:00 +0000 | |
---|---|---|
committer | 2015-09-26 22:00:00 +0000 | |
commit | 8e979983819fcb363cece6e253d220806bdff259 (patch) | |
tree | d114b97a829f9e4e2a889648d2faf7abe16dcec0 /lib/libcurses/base/vsscanf.c | |
parent | whitespace (diff) | |
download | wireguard-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