summaryrefslogtreecommitdiff
path: root/src/label.c
diff options
context:
space:
mode:
authorDan Walsh <dwalsh@redhat.com>2011-12-19 23:55:29 +0100
committerMichal Schmidt <mschmidt@redhat.com>2011-12-19 23:58:58 +0100
commit81c3f1f6aba52ac5e95241b51083b61c7401be44 (patch)
tree354f886e887a8cf55f8f35025e50d98cfe7ac7a7 /src/label.c
parent0b1f4ae63548c627decd80e3e2fd030c2d4f3af6 (diff)
label: fix labeling of symbolic links
Diffstat (limited to 'src/label.c')
-rw-r--r--src/label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/label.c b/src/label.c
index d9d195b50f..2c887a0fe5 100644
--- a/src/label.c
+++ b/src/label.c
@@ -109,7 +109,7 @@ int label_fix(const char *path, bool ignore_enoent) {
return 0;
if (r == 0) {
- r = setfilecon(path, fcon);
+ r = lsetfilecon(path, fcon);
freecon(fcon);
/* If the FS doesn't support labels, then exit without warning */