rocnetnode: fix for mmap error checking