Unverified Commit d5c2c556 authored by Chen Yufei's avatar Chen Yufei Committed by GitHub
Browse files

Fix typo in binary file already exists error message. (#4231)

parent 5014f19f
...@@ -932,7 +932,7 @@ bool Dataset::GetIntField(const char* field_name, data_size_t* out_len, ...@@ -932,7 +932,7 @@ bool Dataset::GetIntField(const char* field_name, data_size_t* out_len,
void Dataset::SaveBinaryFile(const char* bin_filename) { void Dataset::SaveBinaryFile(const char* bin_filename) {
if (bin_filename != nullptr && std::string(bin_filename) == data_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; return;
} }
// if not pass a filename, just append ".bin" of original file // if not pass a filename, just append ".bin" of original file
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment