Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo (#619) #925

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fuse/bfs_mount.cc
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ void* bfs_init(struct fuse_conn_info *conn) {
g_bfs_cluster = "localhost:8828";
}
if (!baidu::bfs::FS::OpenFileSystem(g_bfs_cluster.c_str(), &g_fs, baidu::bfs::FSOptions())) {
fprintf(stderr, BFS"Open file sytem: %s fail\n", g_bfs_cluster.c_str());
fprintf(stderr, BFS"Open file system: %s fail\n", g_bfs_cluster.c_str());
abort();
}
int32_t ret = g_fs->Access(g_bfs_path.c_str(), R_OK | W_OK);
Expand Down
2 changes: 1 addition & 1 deletion src/client/bfs_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ int main(int argc, char* argv[]) {
baidu::bfs::FS* fs;
std::string ns_address = FLAGS_nameserver_nodes;
if (!baidu::bfs::FS::OpenFileSystem(ns_address.c_str(), &fs, baidu::bfs::FSOptions())) {
fprintf(stderr, "Open filesytem %s fail\n", ns_address.c_str());
fprintf(stderr, "Open filesystem %s fail\n", ns_address.c_str());
return 1;
}

Expand Down
2 changes: 1 addition & 1 deletion src/nameserver/block_mapping.cc
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ void BlockMapping::ProcessRecoveredBlock(int32_t cs_id, int64_t block_id, Status
return;
}
if (status == kCsNotFound) {
LOG(WARNING, "C%d doesnt't have block #%ld, remove from block mapping", cs_id, block_id);
LOG(WARNING, "C%d doesn't have block #%ld, remove from block mapping", cs_id, block_id);
block->replica.erase(cs_id);
}
if (ret) {
Expand Down
2 changes: 1 addition & 1 deletion src/test/mark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Random {
Mark::Mark() : fs_(NULL), file_size_(FLAGS_file_size << 10),
exit_(false), has_error_(false) {
if (!FS::OpenFileSystem(FLAGS_nameserver_nodes.c_str(), &fs_, FSOptions())) {
std::cerr << "Open filesytem failed " << FLAGS_nameserver_nodes << std::endl;
std::cerr << "Open filesystem failed " << FLAGS_nameserver_nodes << std::endl;
exit(EXIT_FAILURE);
}

Expand Down