Skip to content

Commit 968e4c0

Browse files
committed
Fixed more regressions spotted by github workflows
1 parent a691c35 commit 968e4c0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

arch.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,7 @@ ifeq ($(filter $(TARGET),x86_fsp_qemu kontron_vx3060_s2),$(TARGET))
983983
# some std libc have headers that bring in extra symbols used in
984984
# FORTIFY_SOURCE realated checks. Use -U_FORTIFY_SOURCE to avoid that.
985985
CFLAGS+=-U_FORTIFY_SOURCE
986+
CFLAGS+=-DMMU=1
986987
ifeq ($(TARGET), kontron_vx3060_s2)
987988
FSP_TGL=1
988989
CFLAGS+=-DWOLFBOOT_TGL=1

hal/sim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ void do_boot(const uint32_t *app_offset)
378378

379379
wret = write(fd, app_offset, app_size);
380380
if (wret != app_size) {
381-
wolfBoot_printf( "can't write test-app to memfd, address %p: fd %d rval %d errno %d\n", app_offset, fd, wret, errno);
381+
wolfBoot_printf( "can't write test-app to memfd, address %p: fd %d rval %ld errno %d\n", app_offset, fd, wret, errno);
382382
exit(-1);
383383
}
384384
wolfBoot_printf("Stored test-app to memfd, address %p (%zu bytes)\n", app_offset, wret);

0 commit comments

Comments
 (0)