mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix selinux compile.
This commit is contained in:
parent
91a7cf559d
commit
bf9c60feb5
@ -236,7 +236,7 @@ static int _create_control(const char *control, uint32_t major, uint32_t minor)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_SELINUX
|
#ifdef HAVE_SELINUX
|
||||||
if (!set_selinux_context(control, S_IFCHR)) {
|
if (!dm_set_selinux_context(control, S_IFCHR)) {
|
||||||
stack;
|
stack;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user