diff --git a/fs_mgr/fs_mgr.cpp b/fs_mgr/fs_mgr.cpp index b80ccdf33..8ce961b8e 100644 --- a/fs_mgr/fs_mgr.cpp +++ b/fs_mgr/fs_mgr.cpp @@ -271,12 +271,12 @@ static void check_fs(const std::string& blk_device, const std::string& fs_type, LINFO << "Running " << F2FS_FSCK_BIN << " -f -c 10000 --debug-cache " << realpath(blk_device); ret = logwrap_fork_execvp(ARRAY_SIZE(f2fs_fsck_forced_argv), f2fs_fsck_forced_argv, - &status, false, LOG_KLOG | LOG_FILE, false, FSCK_LOG_FILE); + &status, false, LOG_KLOG | LOG_FILE, false, nullptr); } else { LINFO << "Running " << F2FS_FSCK_BIN << " -a -c 10000 --debug-cache " << realpath(blk_device); ret = logwrap_fork_execvp(ARRAY_SIZE(f2fs_fsck_argv), f2fs_fsck_argv, &status, false, - LOG_KLOG | LOG_FILE, false, FSCK_LOG_FILE); + LOG_KLOG | LOG_FILE, false, nullptr); } if (ret < 0) { /* No need to check for error in fork, we can't really handle it now */