Unverified Commit 593cde16 authored by sundb's avatar sundb Committed by GitHub
Browse files

Fix units in log message of copy-on-write (#8320)

parent 4f8458d8
...@@ -5533,7 +5533,7 @@ void sendChildCOWInfo(int ptype, int on_exit, char *pname) { ...@@ -5533,7 +5533,7 @@ void sendChildCOWInfo(int ptype, int on_exit, char *pname) {
if (private_dirty) { if (private_dirty) {
serverLog(on_exit ? LL_NOTICE : LL_VERBOSE, serverLog(on_exit ? LL_NOTICE : LL_VERBOSE,
"%s: %zu MB of memory used by copy-on-write", "%s: %zu MB of memory used by copy-on-write",
pname, private_dirty); pname, private_dirty/(1024*1024));
} }
sendChildInfo(ptype, on_exit, private_dirty); sendChildInfo(ptype, on_exit, private_dirty);
......
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