summaryrefslogtreecommitdiffstats
path: root/toolbox/restorecon.c
diff options
context:
space:
mode:
Diffstat (limited to 'toolbox/restorecon.c')
-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));