Same bug as was in linux. Also, fix problem where an entry would be skipped next call if not enough room in buffer current call.
Same bug as was in linux. Also, fix problem where an entry would be skipped next call if not enough room in buffer current call.