On Mon, Mar 19, 2012 at 06:50:01PM +0300, Andrey Vagin wrote: ... > +static int cr_dump_shmem(int pid) > +{ ... > + > + fd = open_image(CR_FD_SHMEM_PAGES, O_WRONLY | O_CREAT, si->shmid); > + if (fd < 0) { munmap(addr, si->size) missed > + goto err; } Cyrill