diff options
| author | Tom Rini <[email protected]> | 2019-10-23 15:39:41 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-10-30 17:48:47 -0400 |
| commit | 90037eb483d3b84eab214a080e41efde85d9f2de (patch) | |
| tree | de443dca71cd7a235a0a68315502a0cfe85ce6e4 /Makefile | |
| parent | 3135022cb4db37ccf7691b03f6a99cfe6afb878d (diff) | |
Makefile: Fix printing problem in size_check on overflow
When we have an excess size growth, fix the "limit" printf call to pass
in just the limit variable rather than the string bytes to the format
character.
Signed-off-by: Tom Rini <[email protected]>
Reviewed-by: Simon Goldschmidt <[email protected]>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -346,7 +346,7 @@ define size_check limit=$$( printf "%d" $2 ); \ if test $$actual -gt $$limit; then \ echo "$1 exceeds file size limit:" >&2; \ - echo " limit: $$(printf %#x bytes $$limit) bytes" >&2; \ + echo " limit: $$(printf %#x $$limit) bytes" >&2; \ echo " actual: $$(printf %#x $$actual) bytes" >&2; \ echo " excess: $$(printf %#x $$((actual - limit))) bytes" >&2;\ exit 1; \ |
