diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/label.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/label.c b/src/shared/label.c index 70e5c85a11..3b7b86e8fa 100644 --- a/src/shared/label.c +++ b/src/shared/label.c @@ -79,7 +79,7 @@ static int smack_relabel_in_dev(const char *path) { r = setxattr(path, "security.SMACK64", label, strlen(label), 0); if (r < 0) { - log_error("Smack relabeling \"%s\" %s", path, strerror(errno)); + log_error("Smack relabeling \"%s\" %m", path); return -errno; } #endif |