Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FILE* fstab = fopen("/etc/recovery.fstab", "r");
- if (fstab == NULL) {
- /* Read the fstab from /misc */
- LOGE("failed to open /etc/recovery.fstab, trying /misc/recovery.fstab");
- fstab = fopen("/misc/recovery.fstab", "r");
- }
- if (fstab == NULL) {
- /* If we still dont have luck then put out error */
- LOGE("failed to open /etc/recovery.fstab or /misc/recovery.fstab (%s)\n", strerror(errno));
- return;
- }
Add Comment
Please, Sign In to add comment