summaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
authorDenis Vlasenko2007-03-12 18:22:55 +0000
committerDenis Vlasenko2007-03-12 18:22:55 +0000
commit39c651e9097e0e55a52c897982d6e84d281f7396 (patch)
treead535283af2299825f65b6b44c889dc7e7bfc842 /selinux
parentb3f09f4a5092aacbdc3da80d4fefeaf06445a4f8 (diff)
downloadbusybox-39c651e9097e0e55a52c897982d6e84d281f7396.zip
busybox-39c651e9097e0e55a52c897982d6e84d281f7396.tar.gz
introduce and use setfscreatecon_or_die
(patch by Yuichi Nakamura <ynakam@hitachisoft.jp>) runcon: *yet another* fix for vda's brainfart :(
Diffstat (limited to 'selinux')
-rw-r--r--selinux/runcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/selinux/runcon.c b/selinux/runcon.c
index 24e436f..8888ccc 100644
--- a/selinux/runcon.c
+++ b/selinux/runcon.c
@@ -132,6 +132,6 @@ int runcon_main(int argc, char *argv[])
execvp(argv[0], argv);
- bb_perror_msg_and_die("cannot execute '%s'", command);
+ bb_perror_msg_and_die("cannot execute '%s'", argv[0]);
return 1;
}