]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect: add dissect_image_file_and_warn()
authorLennart Poettering <lennart@poettering.net>
Fri, 2 Dec 2022 09:47:20 +0000 (10:47 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 5 Apr 2023 18:47:23 +0000 (20:47 +0200)
commit7cd7a19568ffcac3064a5fa4502315a01a19b9be
treeca2f5a325701da7c42eb74f47c300e6edaa3b827
parentcd22d8562dd085f5c234cf26b4dd773029418833
dissect: add dissect_image_file_and_warn()

This is to dissect_image_file() what dissect_loop_device_and_warn() is
to dissect_loop_device(), i.e. it dissects the image file and logs an
error string if that fails instead of just returning an error.
src/shared/dissect-image.c
src/shared/dissect-image.h