diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-01-11 15:13:42 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-01-14 22:24:22 +0000 |
commit | bced32d514bb36b97f4dd045f4ee6919e1642aa0 (patch) | |
tree | 0abcbb5b8aea1d0e1e71ec30a2029289a37b16c4 /licenses/cc-by-sa-v4.0.txt | |
parent | d833c1d39e75141f98ab88f9952f9b86a4243006 (diff) |
libcamera: log: Fix unknown log level representation
Commit 99a3e7bcfb38 ("libcamera: log: Add a LogFatal log level")
expanded the text representation of the log levels to support the FATAL
string, but left the default unknown match at four characters.
This code should never expect to be executed, but for completeness match
the string lengths by adding an extra character to the result.
Fixes: 99a3e7bcfb38 ("libcamera: log: Add a LogFatal log level")
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'licenses/cc-by-sa-v4.0.txt')
0 files changed, 0 insertions, 0 deletions