diff options
author | Brian C. Lane <bcl@redhat.com> | 2023-02-15 11:52:42 -0800 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2023-02-15 11:52:42 -0800 |
commit | d272bb5b5343fd288a204314654a7fbaea84528d (patch) | |
tree | ec5cf784b706dd3c3ab5e65d6f22c2a60f51e602 /parted.spec.in | |
parent | 09c95d2feab0c087339886134dfe2dc04094348a (diff) | |
download | parted-d272bb5b5343fd288a204314654a7fbaea84528d.tar.gz |
tests: Fix formatting and snprintf warnings in tests.
The assert message includes sector values, which are long long int, so
use the proper formatting of %lld.
The snprintf warning complained about trying to write 258 bytes so I
bumped the buffer size up to 259. The return value is already being
checked for truncation so this is just to keep the compiler happy
without having to suppress the warning.
Diffstat (limited to 'parted.spec.in')
0 files changed, 0 insertions, 0 deletions