aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-01-16 20:00:24 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-01-16 20:00:24 +0100
commit12d97b66805f87e535962963e858fc2422ffdbc7 (patch)
tree10836c6158a05a505d8a7cb83313cc908e837a50 /util-linux
parent2a1571bfa003233470140a17be4ae4f0239f5a24 (diff)
downloadbusybox-w32-1_18_2.tar.gz
busybox-w32-1_18_2.tar.bz2
busybox-w32-1_18_2.zip
apply post-1.18.1 patches, bump version to 1.18.21_18_2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mkswap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c
index 53537fcd9..2e9662b2b 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)
15 if (!is_selinux_enabled()) 15 if (!is_selinux_enabled())
16 return; 16 return;
17 17
18 xfstat(fd, &stbuf, argv[0]); 18 xfstat(fd, &stbuf, path);
19 if (S_ISREG(stbuf.st_mode)) { 19 if (S_ISREG(stbuf.st_mode)) {
20 security_context_t newcon; 20 security_context_t newcon;
21 security_context_t oldcon = NULL; 21 security_context_t oldcon = NULL;