From 21c70ac84ac233cfd6fd28e24e0a5ad58cc64a32 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 c7dcab7d2aabfa..7c64006efb068b 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; }