aboutsummaryrefslogtreecommitdiff
path: root/selinux/runcon.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
commit6331cf059ccfdf35f4e5a505cbae885094cc41b0 (patch)
treeccb4b4f0d96d9636861a75f7fc6c97b8b15bd306 /selinux/runcon.c
parentf4fee418ae9f5308b4d32bc8d4e618f779f3203f (diff)
downloadbusybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.gz
busybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.bz2
busybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.zip
*: use "can't" instead of "cannot"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'selinux/runcon.c')
-rw-r--r--selinux/runcon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/selinux/runcon.c b/selinux/runcon.c
index 6ecd7899d..8472b7090 100644
--- a/selinux/runcon.c
+++ b/selinux/runcon.c
@@ -41,13 +41,13 @@ static context_t runcon_compute_new_context(char *user, char *role, char *type,
41 security_context_t cur_context; 41 security_context_t cur_context;
42 42
43 if (getcon(&cur_context)) 43 if (getcon(&cur_context))
44 bb_error_msg_and_die("cannot get current context"); 44 bb_error_msg_and_die("can't get current context");
45 45
46 if (compute_trans) { 46 if (compute_trans) {
47 security_context_t file_context, new_context; 47 security_context_t file_context, new_context;
48 48
49 if (getfilecon(command, &file_context) < 0) 49 if (getfilecon(command, &file_context) < 0)
50 bb_error_msg_and_die("cannot retrieve attributes of '%s'", 50 bb_error_msg_and_die("can't retrieve attributes of '%s'",
51 command); 51 command);
52 if (security_compute_create(cur_context, file_context, 52 if (security_compute_create(cur_context, file_context,
53 SECCLASS_PROCESS, &new_context)) 53 SECCLASS_PROCESS, &new_context))