summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSymious <yiyang0203@gmail.com>2024-09-03 14:41:55 -0700
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>2024-09-03 14:41:55 -0700
commitc989c51ed7260135777e8a13e1a2f8c85e520920 (patch)
treeffba546027dbd275735e8978d1beb4917bce6892
parentcd6f802ccb2f6f64263ba4b61134e3072d03a867 (diff)
Fix non-ASCII character (#12972)
Summary: Met the following error while compiling the project. ``` build_tools/check-sources.sh utilities/fault_injection_fs.cc:509: // If there<E2><80><99>s no injected error, then cb will be called asynchronously when utilities/fault_injection_fs.cc:510: // target_ actually finishes the read. But if there<E2><80><99>s an injected error, it utilities/fault_injection_fs.cc:512: // isn<E2><80><99>t invoked at all. ^^^^ Use only ASCII characters in source files make[1]: *** [Makefile:1291: check-sources] Error 1 make[1]: Leaving directory '/home/janus/Github/symious/rocksdb' make: *** [Makefile:1084: check] Error 2 ``` Pull Request resolved: https://github.com/facebook/rocksdb/pull/12972 Reviewed By: hx235 Differential Revision: D61923865 Pulled By: cbi42 fbshipit-source-id: 63af0a38fea15e09a860895bdd5ed0a57700e447
-rw-r--r--utilities/fault_injection_fs.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/utilities/fault_injection_fs.cc b/utilities/fault_injection_fs.cc
index 6b39e2b38..d6e3f7111 100644
--- a/utilities/fault_injection_fs.cc
+++ b/utilities/fault_injection_fs.cc
@@ -506,10 +506,10 @@ IOStatus TestFSRandomAccessFile::ReadAsync(
s = target_->ReadAsync(req, opts, cb, cb_arg, io_handle, del_fn, nullptr);
// TODO (low priority): fs_->ReadUnsyncedData()
} else {
- // If there’s no injected error, then cb will be called asynchronously when
- // target_ actually finishes the read. But if there’s an injected error, it
+ // If there's no injected error, then cb will be called asynchronously when
+ // target_ actually finishes the read. But if there's an injected error, it
// needs to immediately call cb(res, cb_arg) s since target_->ReadAsync()
- // isn’t invoked at all.
+ // isn't invoked at all.
res.status = res_status;
cb(res, cb_arg);
}