am 01502981: Merge "fix valgrind ioctl warning."

* commit '01502981cddb69b9ab7e4bf8bc66366ae0eb7035':
  fix valgrind ioctl warning.