summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexander Viro <viro@www.linux.org.uk>2004-07-29 08:47:43 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-07-29 08:47:43 -0700
commit5e19073981761189aad55e0d11490ed7fe1fbad1 (patch)
treec9d763d8d22801c6f3d2481f44789a7d4cdc6c67 /include/linux
parentbd048df6f4e1e6da6246041e6d46b3448b66a2ef (diff)
[PATCH] con_font_copy sanitized
->con_font_copy() sanitized. We extract the number of console to copy the font from in the caller (it's taken from the field of console_font_op that is normally used for font height - messy even for an ioctl, but that animal used to be passed all the way down into console drivers). With decoding done in con_font_copy(), we simply pass source console number into the method. Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/console.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/console.h b/include/linux/console.h
index 56f907bff455..02da3a451213 100644
--- a/include/linux/console.h
+++ b/include/linux/console.h
@@ -44,7 +44,7 @@ struct consw {
int (*con_font_set)(struct vc_data *, struct console_font_op *);
int (*con_font_get)(struct vc_data *, struct console_font_op *);
int (*con_font_default)(struct vc_data *, struct console_font *, char *);
- int (*con_font_copy)(struct vc_data *, struct console_font_op *);
+ int (*con_font_copy)(struct vc_data *, int);
int (*con_resize)(struct vc_data *, unsigned int, unsigned int);
int (*con_set_palette)(struct vc_data *, unsigned char *);
int (*con_scrolldelta)(struct vc_data *, int);