diff options
author | Yusuke Sato <yusukes@google.com> | 2015-08-18 12:10:45 -0700 |
---|---|---|
committer | Yusuke Sato <yusukes@google.com> | 2015-08-18 23:08:55 -0700 |
commit | faba3263b7d4c1c057ca9d1291f258860c1359a5 (patch) | |
tree | 4ded29dc93643b739a1611e5ef07d4e3e86c790b /puncture_fs | |
parent | 89a2254abae3f427aa85fb3a3afe9a27cdfad68d (diff) | |
download | extras-faba3263b7d4c1c057ca9d1291f258860c1359a5.tar.gz |
Use the new version of android_fork_execvp_ext()
This CL depends on I818f5cf61045286c8d64a91b6d50f05740329be1.
Bug: 21725996
Change-Id: I2d26cf79989de717b7695757d0297a16dedbebbd
Diffstat (limited to 'puncture_fs')
-rw-r--r-- | puncture_fs/puncture_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/puncture_fs/puncture_fs.c b/puncture_fs/puncture_fs.c index 3f7e4a72..e9d08dc0 100644 --- a/puncture_fs/puncture_fs.c +++ b/puncture_fs/puncture_fs.c @@ -187,7 +187,7 @@ static bool puncture_fs (const char * const path, const u64 total_size, free(base_file_data); rm_bin_argv[2] = delete_dir; if (android_fork_execvp_ext(ARRAY_SIZE(rm_bin_argv), rm_bin_argv, - NULL, 1, LOG_KLOG, 0, NULL) < 0) { + NULL, 1, LOG_KLOG, 0, NULL, NULL, 0) < 0) { fprintf(stderr, "\nFailed to delete %s\n", rm_bin_argv[2]); return false; } |