summaryrefslogtreecommitdiffstats
path: root/toolbox
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-02-12 23:09:27 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-02-12 23:09:28 +0000
commit2e7347d617b02b13d227bb4cecf6bd69b7b20fa9 (patch)
treedb646cc74615b92769c20c4a9b0794c95ec5adc3 /toolbox
parentdc97eec05232a5d64b6425043b48eafaf63cef7f (diff)
parent27a93650c0df02e4cd3c48bbec8acee8b817a012 (diff)
downloadsystem_core-2e7347d617b02b13d227bb4cecf6bd69b7b20fa9.zip
system_core-2e7347d617b02b13d227bb4cecf6bd69b7b20fa9.tar.gz
system_core-2e7347d617b02b13d227bb4cecf6bd69b7b20fa9.tar.bz2
Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
Diffstat (limited to 'toolbox')
-rw-r--r--toolbox/restorecon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolbox/restorecon.c b/toolbox/restorecon.c
index 137e9fa..11532da 100644
--- a/toolbox/restorecon.c
+++ b/toolbox/restorecon.c
@@ -49,7 +49,7 @@ int restorecon_main(int argc, char **argv)
usage();
for (i = 0; i < argc; i++) {
- rc = selinux_android_restorecon_flags(argv[i], flags);
+ rc = selinux_android_restorecon(argv[i], flags);
if (rc < 0)
fprintf(stderr, "Could not restorecon %s: %s\n", argv[i],
strerror(errno));