openpic: fix debug prints
commit4c4f0e4801ac79632d03867c88aafc90b4ce503c
authorScott Wood <scottwood@freescale.com>
Fri, 21 Dec 2012 16:15:38 +0000 (21 16:15 +0000)
committerAlexander Graf <agraf@suse.de>
Mon, 7 Jan 2013 16:37:09 +0000 (7 17:37 +0100)
treee46c98a0f32c67f31198644579cbe5b919f381eb
parentbeb526b12134a6b6744125deec5a7fe24a8f92e3
openpic: fix debug prints

Fix various format errors when debug prints are enabled.  Also
cause error checking to happen even when debug prints are not
enabled, and consistently use 0x for hex output.

Signed-off-by: Scott Wood <scottwood@freescale.com>
[agraf: adjust for more recent code base, prettify DPRINTF macro]
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/openpic.c