diff options
author | Cristian RodrÃguez <crrodriguez@opensuse.org> | 2014-05-24 00:10:36 -0400 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-05-25 11:18:28 +0800 |
commit | 590b6b9188e75ba46c42995984a1c2fa06adb6d6 (patch) | |
tree | 4d8b40bf0d4a8502940e21d5347133bdf231b309 /src/shared/label.c | |
parent | 552c693eea399e8e32ffb8c9302aaffeb520427d (diff) |
Use %m instead of strerror(errno) where appropiate
Diffstat (limited to 'src/shared/label.c')
-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 |