diff options
| author | Peter Jones <pjones@redhat.com> | 2021-09-20 17:06:01 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2025-01-17 17:17:20 -0500 |
| commit | 9229e7caea9133484aa18178cb713f2a2f1e93d0 (patch) | |
| tree | 19672ae201f01aaa04c90291d1ed01bc9512c8a5 /include/mock-variables.h | |
| parent | b560c523623bf8b32142220401de86ed44338c3d (diff) | |
| download | efi-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 'include/mock-variables.h')
0 files changed, 0 insertions, 0 deletions
