Searched hist:269779 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/dev/fb/
H A Dfbd.cdiff 269779 Sun Aug 10 13:05:54 MDT 2014 dumbbell fbd: Fix a bug where vt_fb_attach() success would be considered a failure

vt_fb_attach() currently always returns 0, but it could return a code
defined in errno.h. However, it doesn't return a CN_* code. So checking
its return value against CN_DEAD (which is 0) is incorrect, and in this
case, a success becomes a failure.

The consequence was unimportant, because the caller (drm_fb_helper.c)
would only log an error message in this case. The console would still
work.

Approved by: nwhitehorn

Completed in 108 milliseconds