blob_handler: Fix fprintf %li to %zu & update clang-format

While updating to Meson it seems we enabled a more strict formatting
checks which are causing presubmit builds to fail:
https://gerrit.openbmc.org/c/openbmc/openbmc/+/55463

Fix the failures with suggested solutions.

Tested: Built an internal platform with this newest change

Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I39b411b6154517809a06c4788603fe11830accc1
2 files changed
tree: 374e825bd38bcd0fd54e323a68bf52aaaf16adc0
  1. src/
  2. test/
  3. .clang-format
  4. .gitignore
  5. .lcovrc
  6. LICENSE
  7. MAINTAINERS
  8. meson.build
  9. meson_options.txt
  10. OWNERS
  11. README.md
README.md

ipmi-blob-tool

ipmi-blob-tool is a host-side tool that speaks the BLOB protocol over IPMI.

Dependencies

Test cases require google{test,mock}, valgrind, and lcov.

Building

For a standard release build, you want something like:

./bootstrap.sh
./configure --disable-tests
make
make install

For a test / debug build, a typical configuration is

./bootstrap.sh
./configure --enable-tests --enable-coverage --enable-valgrind
make
make check
make check-valgrind
make check-code-coverage