From 590b6b9188e75ba46c42995984a1c2fa06adb6d6 Mon Sep 17 00:00:00 2001 From: Cristian Rodríguez Date: Sat, 24 May 2014 00:10:36 -0400 Subject: Use %m instead of strerror(errno) where appropiate --- src/shared/label.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/label.c') 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 -- cgit v1.2.3-54-g00ecf