From bfcee2891cbd14a06aec2079a23428adb26b5dfd Mon Sep 17 00:00:00 2001 From: jiahao Date: Fri, 16 Apr 2021 17:07:50 +0800 Subject: [PATCH] add missing spaces The parameters "--debug-cache" and path are close to each other, eg: 01-09 17:14:52.058 648 648 I vold : [libfs_mgr]Running /system/bin/fsck.f2fs -a -c 10000 --debug-cache/dev/block/dm-10 Add a space between them to separate. Signed-off-by: jiahao Change-Id: Ie2929b541d5907a521c7b97aaed31fdca381fc1a --- fs_mgr/fs_mgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs_mgr/fs_mgr.cpp b/fs_mgr/fs_mgr.cpp index bbbb7e8c6..ea9d33350 100644 --- a/fs_mgr/fs_mgr.cpp +++ b/fs_mgr/fs_mgr.cpp @@ -264,12 +264,12 @@ static void check_fs(const std::string& blk_device, const std::string& fs_type, F2FS_FSCK_BIN, "-f", "-c", "10000", "--debug-cache", blk_device.c_str()}; if (should_force_check(*fs_stat)) { - LINFO << "Running " << F2FS_FSCK_BIN << " -f -c 10000 --debug-cache" + 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); } else { - LINFO << "Running " << F2FS_FSCK_BIN << " -a -c 10000 --debug-cache" + 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);