Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256637
b: refs/heads/master
c: d873d79
h: refs/heads/master
i:
  256635: 9ccfeca
v: v3
  • Loading branch information
Stefan Richter committed Jul 16, 2011
1 parent cd10475 commit a564502
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9f426173e54a4f0882f9516c226f3165a3bd5474
refs/heads/master: d873d794235efa590ab3c94d5ee22bb1fab19ac4
2 changes: 1 addition & 1 deletion trunk/drivers/firewire/core-cdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,7 @@ static int dispatch_ioctl(struct client *client,
if (_IOC_TYPE(cmd) != '#' ||
_IOC_NR(cmd) >= ARRAY_SIZE(ioctl_handlers) ||
_IOC_SIZE(cmd) > sizeof(buffer))
return -EINVAL;
return -ENOTTY;

if (_IOC_DIR(cmd) == _IOC_READ)
memset(&buffer, 0, _IOC_SIZE(cmd));
Expand Down

0 comments on commit a564502

Please sign in to comment.