diff options
author | Graham Gower <graham.gower@gmail.com> | 2010-10-28 00:33:00 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-28 03:03:05 +0200 |
commit | 1e0ad2881d50becaeea70ec696a80afeadf944d2 (patch) | |
tree | 8286323de610f8e939cc6e9c2ccfd139a92d9e91 /drivers/rtc/Kconfig | |
parent | dmi: log board, system, and BIOS information (diff) | |
download | linux-1e0ad2881d50becaeea70ec696a80afeadf944d2.tar.xz linux-1e0ad2881d50becaeea70ec696a80afeadf944d2.zip |
drivers/char/vt_ioctl.c: fix VT_OPENQRY error value
When all VT's are in use, VT_OPENQRY casts -1 to unsigned char before
returning it to userspace as an int. VT255 is not the next available
console.
Signed-off-by: Graham Gower <graham.gower@gmail.com>
Cc: Greg KH <greg@kroah.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/Kconfig')
0 files changed, 0 insertions, 0 deletions