summaryrefslogtreecommitdiff
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 e57120d..6945a02 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();