ecore: munmap() call get size of the same type as nmap() call in "len" argument

Reviewers: stanluk, lukasz.stanislawski, jpeg

Reviewed By: jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5553
This commit is contained in:
Pawel Aksiutowicz 2017-12-04 19:32:46 +09:00 committed by Jean-Philippe Andre
parent 10103b9b45
commit c41480e46c
1 changed files with 1 additions and 1 deletions

View File

@ -934,7 +934,7 @@ _ecore_fps_debug_shutdown(void)
unlink(buf);
if (_ecore_fps_runtime_mmap)
{
munmap(_ecore_fps_runtime_mmap, sizeof(int));
munmap(_ecore_fps_runtime_mmap, sizeof(unsigned int));
_ecore_fps_runtime_mmap = NULL;
}
close(_ecore_fps_debug_fd);