summaryrefslogtreecommitdiff
path: root/src/core/smack-setup.c
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-10-01 12:16:16 +0200
committerDaniel Mack <github@zonque.org>2015-10-01 12:16:16 +0200
commit52dd374765ad5c8dec55db135866942830c99060 (patch)
tree596078b6f01afc552d4257f1d133d62ac68c995e /src/core/smack-setup.c
parent2ce8d6080d4135ae8926fc783766c3dfbeb7a6b0 (diff)
parent46b57b6eece0ed9b67cd199af484046e50487589 (diff)
Merge pull request #1433 from michich/log-errno
tree-wide: add missing errno arguments to log_*_errno()
Diffstat (limited to 'src/core/smack-setup.c')
-rw-r--r--src/core/smack-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/smack-setup.c b/src/core/smack-setup.c
index 6618aa501d..761582c7a2 100644
--- a/src/core/smack-setup.c
+++ b/src/core/smack-setup.c
@@ -222,7 +222,7 @@ int mac_smack_setup(bool *loaded_policy) {
#ifdef SMACK_RUN_LABEL
r = write_string_file("/proc/self/attr/current", SMACK_RUN_LABEL, 0);
if (r)
- log_warning_errno("Failed to set SMACK label \"%s\" on self: %m", SMACK_RUN_LABEL);
+ log_warning_errno(r, "Failed to set SMACK label \"%s\" on self: %m", SMACK_RUN_LABEL);
#endif
r = write_cipso2_rules("/etc/smack/cipso.d/");