diff --git a/source/posix/system_resource_utils.c b/source/posix/system_resource_utils.c index 2b928405a..4084d8720 100644 --- a/source/posix/system_resource_utils.c +++ b/source/posix/system_resource_utils.c @@ -26,6 +26,6 @@ int aws_memory_usage_for_current_process(struct aws_memory_usage *mu) { #else mu->maxrss = usage.ru_maxrss; #endif - ru->page_faults = usage.ru_majflt; + mu->page_faults = usage.ru_majflt; return AWS_OP_SUCCESS; }