diff options
author | Vojtech Bocek <vbocek@gmail.com> | 2013-08-29 22:38:20 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@198.50.184.117> | 2013-08-30 04:35:02 +0200 |
commit | 37aeb8d6786c0f0456bf1f9633199cd79818a920 (patch) | |
tree | 7bc873341ac21a907228f70798ee8995060a0dc9 /twrp-functions.hpp | |
parent | ignore extra = on install cmd (diff) | |
download | android_bootable_recovery-37aeb8d6786c0f0456bf1f9633199cd79818a920.tar android_bootable_recovery-37aeb8d6786c0f0456bf1f9633199cd79818a920.tar.gz android_bootable_recovery-37aeb8d6786c0f0456bf1f9633199cd79818a920.tar.bz2 android_bootable_recovery-37aeb8d6786c0f0456bf1f9633199cd79818a920.tar.lz android_bootable_recovery-37aeb8d6786c0f0456bf1f9633199cd79818a920.tar.xz android_bootable_recovery-37aeb8d6786c0f0456bf1f9633199cd79818a920.tar.zst android_bootable_recovery-37aeb8d6786c0f0456bf1f9633199cd79818a920.zip |
Diffstat (limited to 'twrp-functions.hpp')
-rw-r--r-- | twrp-functions.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/twrp-functions.hpp b/twrp-functions.hpp index 8531c0939..4040d2ef0 100644 --- a/twrp-functions.hpp +++ b/twrp-functions.hpp @@ -48,7 +48,7 @@ public: static int drop_caches(void); //drop linux cache memory static int Check_su_Perms(void); // check perms and owner of su binary in various locations static bool Fix_su_Perms(void); // sets proper permissions for su binaries and superuser apk - static int tw_chmod(string fn, string mode); // chmod function that converts a 4 char string into st_mode automatically + static int tw_chmod(const string& fn, const string& mode); // chmod function that converts a 3 or 4 char string into st_mode automatically static bool Install_SuperSU(void); // Installs su binary and apk and sets proper permissions static vector<string> split_string(const string &in, char del, bool skip_empty); static int Get_File_Type(string fn); // Determines file type, 0 for unknown, 1 for gzip, 2 for OAES encrypted |