Skip to content

Commit

Permalink
Merge pull request #1 from CyanogenMod/cm-13.0
Browse files Browse the repository at this point in the history
fs_mgr: Change f2fs path
  • Loading branch information
VlikeBanana committed Dec 5, 2015
2 parents 3334999 + 32fa1db commit e9fe565
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs_mgr/fs_mgr_format.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static int format_f2fs(char *fs_blkdev, long long fs_length)
int rc = 0;
char buff[65];

args[0] = (char *)"/sbin/mkfs.f2fs";
args[0] = (char *)"/system/bin/mkfs.f2fs";

if (fs_length >= 0) {
snprintf(buff, sizeof(buff), "%lld", fs_length / 512);
Expand All @@ -95,7 +95,7 @@ static int format_f2fs(char *fs_blkdev, long long fs_length)
}
if (!pid) {
/* This doesn't return */
execv("/sbin/mkfs.f2fs", args);
execv("/system/bin/mkfs.f2fs", args);
exit(1);
}
for(;;) {
Expand Down

0 comments on commit e9fe565

Please sign in to comment.