Skip to content

Commit

Permalink
fixes typos
Browse files Browse the repository at this point in the history
  • Loading branch information
aspirer authored and YunhuiChen committed Feb 28, 2022
1 parent 040377d commit 1385171
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nbd/src/NBDServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ void NBDServer::WriterFunc() {
if (ctx->command == NBD_CMD_READ && ctx->reply.error == htonl(0)) {
r = safeIO_->Write(sock_, ctx->data.get(), ctx->request.len);
if (r < 0) {
LOG(ERROR) << *ctx << ": faield to write reply data : "
LOG(ERROR) << *ctx << ": failed to write reply data : "
<< cpp_strerror(r);
return;
}
Expand Down
2 changes: 1 addition & 1 deletion nebd/src/part1/nebd_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ int64_t NebdClient::GetFileSize(int fd) {

*rpcFailed = cntl->Failed();
if (*rpcFailed) {
LOG(WARNING) << "GetFileSize faield, error = "
LOG(WARNING) << "GetFileSize failed, error = "
<< cntl->ErrorText()
<< ", log id = " << cntl->log_id();
return -1;
Expand Down

0 comments on commit 1385171

Please sign in to comment.