Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199851
b: refs/heads/master
c: 3fde85d
h: refs/heads/master
i:
  199849: 54ba0a9
  199847: 9d081eb
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Jun 4, 2010
1 parent c15135e commit 55a5b73
Show file tree
Hide file tree
Showing 2 changed files with 4 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: c1bfffa94e0ca951ed450788991c9310adb8e823
refs/heads/master: 3fde85df5421eb01f563fef6f111ba73ab0d120e
4 changes: 3 additions & 1 deletion trunk/drivers/char/vt_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,9 @@ int vt_ioctl(struct tty_struct *tty, struct file * file,
if (!perm)
goto eperm;
ret = copy_from_user(&ui, up, sizeof(struct unimapinit));
if (!ret)
if (ret)
ret = -EFAULT;
else
con_clear_unimap(vc, &ui);
break;
}
Expand Down

0 comments on commit 55a5b73

Please sign in to comment.