diff options
author | Denis Vlasenko | 2008-04-25 08:43:01 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-04-25 08:43:01 +0000 |
commit | 95842fbc163d935cc5f7dc67dd49bbe906c2eae4 (patch) | |
tree | c65356f33af8e6df766bf95d55983ca87b97151f /util-linux | |
parent | a6b3a1f0bfc394a18b4cb4181a4827bf054206b4 (diff) | |
download | busybox-95842fbc163d935cc5f7dc67dd49bbe906c2eae4.zip busybox-95842fbc163d935cc5f7dc67dd49bbe906c2eae4.tar.gz |
testsuite/runtest: remove (last) bashism
mkswap: fix selinux build
Diffstat (limited to 'util-linux')
-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) |