summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-01-22 18:41:04 +0100
committerStefan Agner <stefan.agner@toradex.com>2014-01-22 18:48:19 +0100
commit139f77a7efd40d2eb2a4a8b2d8041b80dd3965b8 (patch)
tree125e88e64aa6f6ab96cbcbad0a206c081c6458b5 /lib
parent1d3625dd9903bcc59e2df56836565ebb682948c1 (diff)
Check null pointers for sysfs calls
When grepping through sysfs, grep tries to read all sysfs files which are available. Some of them lead to error due to null pointers. Therefor check for null pointers before using them.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions