summaryrefslogtreecommitdiffstats
path: root/src/boot/efi/cpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/efi/cpio.c')
-rw-r--r--src/boot/efi/cpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/efi/cpio.c b/src/boot/efi/cpio.c
index 79b5d43..34d8be4 100644
--- a/src/boot/efi/cpio.c
+++ b/src/boot/efi/cpio.c
@@ -63,7 +63,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);