Check that result of print function is not NULL before using
Check that result of print function is not NULL before using

Signed-off-by: Steven Pontsler <4f3768ae9866184c485fdb28e3bbf0f1adb15923@intel.com>

intel/ipmctl,intel/ipmctl,intel/ipmctl,intel/ipmctl