Fixed NULL pointer used in printf statements

Error found using static analysis.

Change-Id: I270dc2b0075ee7e98ef8383664a01eb70da01754
Signed-off-by: George Nash <georgen@qce.qualcomm.com>