From cc51dbe999f8ebbe8c26a59b6f961c4bff89e3f6 Mon Sep 17 00:00:00 2001 From: Antonio Alvarez Feijoo Date: Fri, 19 Apr 2024 16:13:21 +0200 Subject: cpio: fix assert --- src/boot/efi/cpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/boot/efi/cpio.c') diff --git a/src/boot/efi/cpio.c b/src/boot/efi/cpio.c index 1408d74bb6..bd1118a58a 100644 --- a/src/boot/efi/cpio.c +++ b/src/boot/efi/cpio.c @@ -65,7 +65,7 @@ static EFI_STATUS pack_cpio_one( char *a; assert(fname); - assert(contents_size || contents_size == 0); + assert(contents || contents_size == 0); assert(target_dir_prefix); assert(inode_counter); assert(cpio_buffer); -- cgit v1.2.3