mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 19:21:53 +03:00
dissect-image: use right comparison function
fstype can be NULL here.
This commit is contained in:
parent
de699c7a06
commit
4db1879acd
@ -231,7 +231,7 @@ int dissect_image(
|
||||
.node = TAKE_PTR(n),
|
||||
};
|
||||
|
||||
m->encrypted = streq(fstype, "crypto_LUKS");
|
||||
m->encrypted = streq_ptr(fstype, "crypto_LUKS");
|
||||
|
||||
*ret = TAKE_PTR(m);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user