aboutsummaryrefslogtreecommitdiffstats
path: root/edid-decode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'edid-decode.cpp')
-rw-r--r--edid-decode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/edid-decode.cpp b/edid-decode.cpp
index 8a1e27a..bcd1090 100644
--- a/edid-decode.cpp
+++ b/edid-decode.cpp
@@ -153,7 +153,7 @@ void do_checksum(const char *prefix, const unsigned char *x, size_t len)
unsigned char sum = 0;
unsigned i;
- printf("%sChecksum: 0x%hhx", prefix, check);
+ printf("%sChecksum: 0x%02hhx", prefix, check);
for (i = 0; i < len-1; i++)
sum += x[i];

Privacy Policy