summaryrefslogtreecommitdiff
path: root/test/image/spl_load_os.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/image/spl_load_os.c')
-rw-r--r--test/image/spl_load_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/image/spl_load_os.c b/test/image/spl_load_os.c
index f46df907c63..26228a8a4a9 100644
--- a/test/image/spl_load_os.c
+++ b/test/image/spl_load_os.c
@@ -51,7 +51,7 @@ static int spl_test_load(struct unit_test_state *uts)
int fd;
memset(&load, '\0', sizeof(load));
- load.bl_len = 512;
+ spl_set_bl_len(&load, 512);
load.read = read_fit_image;
ret = sandbox_find_next_phase(fname, sizeof(fname), true);