summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2025-06-26 19:07:50 +0300
committerMikulas Patocka <mpatocka@redhat.com>2025-06-27 13:07:17 +0200
commitebbd17695e9e1f4c3cdb36149c8b8f38b585e14d (patch)
tree03f7948a859e86c37212a777ad18f31100a22c79 /scripts/extract-fwblobs
parent548d88f74ed49c3c9dbd68550b7b335c2afa6413 (diff)
dm: ima: avoid extra calls to strlen()
Since 'scnprintf()' returns the number of characters emitted (not including the trailing '\0'), use that return value instead of the subsequent calls to 'strlen()' where appropriate. Compile tested only. Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions