summaryrefslogtreecommitdiff
path: root/cmd/stackprot_test.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-02-11 12:02:31 -0500
committerTom Rini <trini@konsulko.com>2022-02-11 12:02:31 -0500
commitdd1c255cbc6d3bdf3211a7c9d8fd36e7696e39bb (patch)
tree5886f2d3c62f227f62cb4c67ac30a8f8ed9712f8 /cmd/stackprot_test.c
parent86752b2814091bd8df30bdbf38768924b60cccab (diff)
parent73cde90c8badbeba32524c2708d26fea805fba1e (diff)
Merge branch '2022-02-11-assorted-updates-and-fixes'
A partial list: - fw_env updates, a new testcase for mkimage -o ..., nop-phy reset-gpios support, DFU updates, kaslr-seed support in extlinux.conf, modern "partitions" support in mtd device tree
Diffstat (limited to 'cmd/stackprot_test.c')
-rw-r--r--cmd/stackprot_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/stackprot_test.c b/cmd/stackprot_test.c
index 1e26193e88b..f3470288fac 100644
--- a/cmd/stackprot_test.c
+++ b/cmd/stackprot_test.c
@@ -17,7 +17,8 @@ static int do_test_stackprot_fail(struct cmd_tbl *cmdtp, int flag, int argc,
memset(a, 0xa5, 512);
- printf("We have smashed our stack as this should not exceed 128: sizeof(a) = %ld\n", strlen(a));
+ printf("We have smashed our stack as this should not exceed 128: sizeof(a) = %zd\n",
+ strlen(a));
return 0;
}