bugfix: pass update marker by ref, not by value

ioctl() for waiting for refresh/update used a wrong call mechanism
Merge pull request #281 from hwhw/master

bugfix: pass update marker by ref, not by value