Browse Source

Fixed return value

sbg
Lorenz Meier 11 years ago
parent
commit
bb8956c84e
  1. 1
      src/drivers/device/cdev.cpp

1
src/drivers/device/cdev.cpp

@ -261,6 +261,7 @@ CDev::ioctl(struct file *filp, int cmd, unsigned long arg) @@ -261,6 +261,7 @@ CDev::ioctl(struct file *filp, int cmd, unsigned long arg)
break;
case DEVIOCSPUBBLOCK:
_pub_blocked = (arg != 0);
return OK;
break;
case DEVIOCGPUBBLOCK:
return _pub_blocked;

Loading…
Cancel
Save