summaryrefslogtreecommitdiffhomepage
path: root/selinux/matchpathcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/matchpathcon.c')
-rw-r--r--selinux/matchpathcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/selinux/matchpathcon.c b/selinux/matchpathcon.c
index e57120d3b..6945a0295 100644
--- a/selinux/matchpathcon.c
+++ b/selinux/matchpathcon.c
@@ -104,7 +104,7 @@ int matchpathcon_main(int argc UNUSED_PARAM, char **argv)
freecon(con);
continue;
}
- printf("actual context unknown: %s, should be ", strerror(errno));
+ printf("actual context unknown: "STRERROR_FMT", should be " STRERROR_ERRNO);
error += print_matchpathcon(path, 1);
}
matchpathcon_fini();