[Pm-utils] [PATCH 3/4] Add safety checks for *_fbcon()

Michael Biebl mbiebl at gmail.com
Thu Feb 14 08:02:06 PST 2008


99video write to /sys/class/graphics/*/state unconditionally.

As I don't have a matching /sys/class/graphics/*/state, it tried to write to
/sys/class/graphics/*/state.

Add a safety check before writing and skip if not a file.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-safety-checks-for-_fbcon.patch
Type: text/x-c
Size: 726 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080214/aaf5e21b/attachment.bin 


More information about the Pm-utils mailing list