diff options
Diffstat (limited to 'util-linux/mkswap.c')
-rw-r--r-- | util-linux/mkswap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c index 1c364ef..11c411b 100644 --- a/util-linux/mkswap.c +++ b/util-linux/mkswap.c @@ -23,7 +23,7 @@ static void mkswap_selinux_setcontext(int fd, const char *path) security_context_t oldcon = NULL; context_t context; - if (fgetfilecon_raw(fd, &oldcon) < 0) { + if (fgetfilecon(fd, &oldcon) < 0) { if (errno != ENODATA) goto error; if (matchpathcon(path, stbuf.st_mode, &oldcon) < 0) |