Update mmaps.c

Removed unused var: lresult;
Return value fixed to lcnt= the number of pages in use;