diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-12-01 13:50:33 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-12-01 13:50:33 +0100 |
commit | 6abd85db0a1a2d67f52a44727df4cdcd1f8b8578 (patch) | |
tree | 7b973b73ecbd22def745f6b86b83a1c23fe0a5d6 /parse-ls-ext-block.cpp | |
parent | 0e602dc90d39188b17cf00e34d514119d59aa261 (diff) |
edid-decode: improve error logging
Distinguish between the block name and the data block name.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'parse-ls-ext-block.cpp')
-rw-r--r-- | parse-ls-ext-block.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-ls-ext-block.cpp b/parse-ls-ext-block.cpp index a8f14d0..117abba 100644 --- a/parse-ls-ext-block.cpp +++ b/parse-ls-ext-block.cpp @@ -54,7 +54,7 @@ void edid_state::parse_ls_ext_block(const unsigned char *x) const unsigned char *orig = x; printf("%s Version %u.%u Unicode Version %u.%u.%u\n", - cur_block.c_str(), x[1], x[2], (x[3] >> 4), x[3] & 0x0f, x[4]); + block.c_str(), x[1], x[2], (x[3] >> 4), x[3] & 0x0f, x[4]); x += 5; while (x[0] && x + x[0] < orig + 127) { |