diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/fileio-label.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/fileio-label.c b/src/shared/fileio-label.c index 417ca5695a..c3def3c568 100644 --- a/src/shared/fileio-label.c +++ b/src/shared/fileio-label.c @@ -59,7 +59,7 @@ int fopen_temporary_label(const char *target, const char *path, FILE **f, char **temp_path) { int r; - r = label_context_set("/etc/passwd", S_IFREG); + r = label_context_set(target, S_IFREG); if (r < 0) return r; |