Browse Source
According to man 3 ioctl, ioctl returns other values than -1 on success. So loop while ioctl returns -1. Furthermore, there is no necessity to initialise r with -EINVAL, Signed-off-by: Ralf Ramsauer <ralf.ramsauer@othr.de>mission-4.1.18
Ralf Ramsauer
9 years ago
committed by
Lucas De Marchi
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue