Bruce Richardson 5b628fe19a examples/vm_power: fix check for null
The check for NULL is in the wrong position in the "if" error leg. The
pointer should be checked for NULL before checking what the value of
what the pointer points to is.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2014-12-17 01:04:06 +01:00
..
2014-12-05 16:54:53 +01:00
2014-11-27 16:21:11 +01:00
2014-11-27 16:21:11 +01:00
2014-11-27 16:21:11 +01:00
2014-12-05 16:54:53 +01:00