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

This commit is contained in:
sundb
2021-01-13 11:38:02 +02:00
committed by GitHub
parent 4f8458d8d6
commit 593cde16bc
+1 -1
View File
@@ -5533,7 +5533,7 @@ void sendChildCOWInfo(int ptype, int on_exit, char *pname) {
if (private_dirty) {
serverLog(on_exit ? LL_NOTICE : LL_VERBOSE,
"%s: %zu MB of memory used by copy-on-write",
pname, private_dirty);
pname, private_dirty/(1024*1024));
}
sendChildInfo(ptype, on_exit, private_dirty);