X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fvt_ioctl.c;h=bf05ec6c1d3da6a5fffc30fba1c00c5b6d29132a;hb=08559aee03be26f1300e0b97f98cf5975095ec7a;hp=682b44e9daf0e5089143f32ca1bae9b8d1fedf68;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/drivers/char/vt_ioctl.c b/drivers/char/vt_ioctl.c index 682b44e9d..bf05ec6c1 100644 --- a/drivers/char/vt_ioctl.c +++ b/drivers/char/vt_ioctl.c @@ -915,7 +915,7 @@ int vt_ioctl(struct tty_struct *tty, struct file * file, op.width = 8; op.height = 0; op.charcount = 256; - op.data = up; + op.data = (char *) arg; return con_font_op(fg_console, &op); } @@ -925,7 +925,7 @@ int vt_ioctl(struct tty_struct *tty, struct file * file, op.width = 8; op.height = 32; op.charcount = 256; - op.data = up; + op.data = (char *) arg; return con_font_op(fg_console, &op); }