From 12d97b66805f87e535962963e858fc2422ffdbc7 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 16 Jan 2011 20:00:24 +0100 Subject: apply post-1.18.1 patches, bump version to 1.18.2 Signed-off-by: Denys Vlasenko --- util-linux/mkswap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux') diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c index 53537fc..2e9662b 100644 --- a/util-linux/mkswap.c +++ b/util-linux/mkswap.c @@ -15,7 +15,7 @@ static void mkswap_selinux_setcontext(int fd, const char *path) if (!is_selinux_enabled()) return; - xfstat(fd, &stbuf, argv[0]); + xfstat(fd, &stbuf, path); if (S_ISREG(stbuf.st_mode)) { security_context_t newcon; security_context_t oldcon = NULL; -- cgit v1.1