Skip to content

Commit

Permalink
Fix typo in binary file already exists error message. (#4231)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyfdecyf authored Apr 27, 2021
1 parent 5014f19 commit d5c2c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/dataset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ bool Dataset::GetIntField(const char* field_name, data_size_t* out_len,

void Dataset::SaveBinaryFile(const char* bin_filename) {
if (bin_filename != nullptr && std::string(bin_filename) == data_filename_) {
Log::Warning("Bianry file %s already exists", bin_filename);
Log::Warning("Binary file %s already exists", bin_filename);
return;
}
// if not pass a filename, just append ".bin" of original file
Expand Down

0 comments on commit d5c2c55

Please sign in to comment.