ACPI: EC: add leading zeros to debug messages
authorMárton Németh <nm127@freemail.hu>
Thu, 24 Jan 2008 03:33:06 +0000 (22:33 -0500)
committerLen Brown <len.brown@intel.com>
Thu, 24 Jan 2008 03:33:06 +0000 (22:33 -0500)
commit86dae0154a49b67c908faffeb33ba37eddceba74
tree25f87b5a7e29cfeb323c5d83bcac19d27c7efca3
parent03d1d99c55649ca641b86d2e3489b167ede1671a
ACPI: EC: add leading zeros to debug messages

Add leading zeros to pr_debug() calls. For example if x=0x0a, the format
"0x%2x" will result the string "0x a", the format "0x%2.2x" will result "0x0a".

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c