coding guidelines: comply with MISRA Rule 12.1.
-added parentheses verifying lack of ambiguities Signed-off-by: Hess Nathan <nhess@baumer.com>
This commit is contained in:
parent
209a3bd40a
commit
aaec285cd5
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ static void minimal_hexdump_line_print(const char *data, size_t length)
|
|||
if (i < length) {
|
||||
unsigned char c = data[i];
|
||||
|
||||
printk("%c", isprint((int)c) != 0 ? c : '.');
|
||||
printk("%c", (isprint((int)c) != 0) ? c : '.');
|
||||
} else {
|
||||
printk(" ");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue