summaryrefslogtreecommitdiff
path: root/lib/simple_file.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2021-09-20 17:06:01 -0400
committerPeter Jones <pjones@redhat.com>2025-01-17 17:17:20 -0500
commit9229e7caea9133484aa18178cb713f2a2f1e93d0 (patch)
tree19672ae201f01aaa04c90291d1ed01bc9512c8a5 /lib/simple_file.c
parentb560c523623bf8b32142220401de86ed44338c3d (diff)
downloadefi-boot-shim-9229e7caea9133484aa18178cb713f2a2f1e93d0.tar.gz
efi-boot-shim-9229e7caea9133484aa18178cb713f2a2f1e93d0.zip
Make mock_set_variable() correctly account for resource usage.
When SetVariable() is called, currently the test for being out of space is correct, but the accounting is backwards - success adds more space available. This fixes the accounting and (with SHIM_DEBUG) logs the variable size. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib/simple_file.c')
0 files changed, 0 insertions, 0 deletions