From 901b51da6782ee965aa2c14a2be8cb1c17ca5105 Mon Sep 17 00:00:00 2001 From: Vadim Date: Sat, 7 Jan 2023 12:56:43 +0300 Subject: [PATCH] src: fix typo in node_snapshotable.cc ImmeidateInfo -> ImmediateInfo PR-URL: https://github.com/nodejs/node/pull/46103 Reviewed-By: Anna Henningsen Reviewed-By: Chengzhong Wu Reviewed-By: Darshan Sen Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca --- src/node_snapshotable.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }