Fix build failure in df4ed537e allow reading of /etc/ld-musl-*.path

2.13 does not support warn flags

Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen 2023-06-08 22:50:43 -07:00
parent df4ed537eb
commit 44a7f6eca9

View file

@ -850,8 +850,8 @@ int mnt_rule::gen_policy_change_mount_type(Profile &prof, int &count,
"same time for propagation type flags"); "same time for propagation type flags");
goto fail; goto fail;
} else if (device && !mnt_point) { } else if (device && !mnt_point) {
pwarn(WARN_DEPRECATED, _("The use of source as mount point for " pwarn(_("The use of source as mount point for "
"propagation type flags is deprecated.\n")); "propagation type flags is deprecated.\n"));
mountpoint = device; mountpoint = device;
} }
if (!convert_entry(mntbuf, mountpoint)) if (!convert_entry(mntbuf, mountpoint))