Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
foodprocessor committed Nov 15, 2024
1 parent 67e3245 commit 761248d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/cloudfuse/child_process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ bool CloudfuseMngr::writeTemplate()
if (!out.is_open())
{
// failed to open template file for writing
printf("Failed to open config template (%s).\n", templateFile);
printf("Failed to open config template (%s).\n", templateFile.c_str());
return false;
}
out << config_template;
out.close();
if (out.fail())
{
// failed to write template file
printf("Failed to write config template (%s).\n", templateFile);
printf("Failed to write config template (%s).\n", templateFile.c_str());
return false;
}
return true;
Expand Down

0 comments on commit 761248d

Please sign in to comment.