diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2023-12-19 15:23:07 +0000 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-12-20 15:28:59 +0100 |
commit | 32f24938a1fce95fce314c1fa9a72af74588ea6c (patch) | |
tree | f9927d4134246e6cdbe7d57f6e9e6e46ef6f034d /kernel/bpf | |
parent | 441c725ed592cb22f2a82f2827dccd045356cc81 (diff) |
samples/bpf: Use %lu format specifier for unsigned long values
Currently %ld format specifiers are being used for unsigned long
values. Fix this by using %lu instead. Cleans up cppcheck warnings:
warning: %ld in format string (no. 1) requires 'long' but the argument
type is 'unsigned long'. [invalidPrintfArgType_sint]
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/bpf/20231219152307.368921-1-colin.i.king@gmail.com
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions