summaryrefslogtreecommitdiffhomepage
path: root/selinux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-08-22 10:37:30 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-08-22 10:37:30 +0200
commitbbc26c6934fac218e19c7897f2dc2e6084e963b0 (patch)
tree3c45605f562471b6a853a29f750d57c0aee8ed37 /selinux
parent200bcc851acbe1ba30fe90b5cf918f88370a5d15 (diff)
run-init: implement -n "dry run"
function old new delta switch_root_main 637 706 +69 packed_usage 31743 31757 +14 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 83/0) Total: 83 bytes text data bss dec hex filename 915247 563 5844 921654 e1036 busybox_old 915303 563 5844 921710 e106e busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'selinux')
-rw-r--r--selinux/setfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/selinux/setfiles.c b/selinux/setfiles.c
index fca698296..8da47d274 100644
--- a/selinux/setfiles.c
+++ b/selinux/setfiles.c
@@ -679,7 +679,7 @@ int setfiles_main(int argc UNUSED_PARAM, char **argv)
bb_show_usage();
xstat(argv[0], &sb);
if (!S_ISREG(sb.st_mode)) {
- bb_error_msg_and_die("spec file %s is not a regular file", argv[0]);
+ bb_error_msg_and_die("'%s' is not a regular file", argv[0]);
}
/* Load the file contexts configuration and check it. */
rc = matchpathcon_init(argv[0]);