diff --git a/src/node_snapshotable.cc b/src/node_snapshotable.cc index 41c284119013e0..bdebd478a115bc 100644 --- a/src/node_snapshotable.cc +++ b/src/node_snapshotable.cc @@ -620,12 +620,12 @@ template <> size_t FileWriter::Write(const ImmediateInfo::SerializeInfo& data) { if (is_debug) { std::string str = ToStr(data); - Debug("Write() %s\n", str.c_str()); + Debug("Write() %s\n", str.c_str()); } size_t written_total = Write(data.fields); - Debug("Write() wrote %d bytes\n", + Debug("Write() wrote %d bytes\n", written_total); return written_total; }