lsm: fixup lsm_process_label_set_at return values
Always return -1 on error (some code paths returned -1, some
returned negative error codes), don't assume 'errno' is set
afterwards, as the function already prints errors and not
all code paths will have a usable errno value.
Signed-off-by:
Wolfgang Bumiller <w.bumiller@proxmox.com>
Showing
Please
register
or
sign in
to comment