diff options
author | Antonio Alvarez Feijoo <antonio.feijoo@suse.com> | 2024-04-19 16:13:21 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-04-19 20:38:44 +0200 |
commit | cc51dbe999f8ebbe8c26a59b6f961c4bff89e3f6 (patch) | |
tree | 59ec256e6da111277efee2c724f630ff744074eb /src/boot/efi/cpio.c | |
parent | stub: get uname from image before loading addons (diff) | |
download | systemd-cc51dbe999f8ebbe8c26a59b6f961c4bff89e3f6.tar.xz systemd-cc51dbe999f8ebbe8c26a59b6f961c4bff89e3f6.zip |
cpio: fix assert
Diffstat (limited to '')
-rw-r--r-- | src/boot/efi/cpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |