lkml.org 
[lkml]   [2003]   [Jun]   [22]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 22 Jun 2003 02:36:26 -0700
FromAndrew Morton <>
SubjectRe: [PATCH] Permit big console scrolls
Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> > -			if (get_user(lines, (char *)arg+1)) {
>  						    ^^^^^
>  > +			if (get_user(lines, (s32 *)((char *)arg+4))) {
>  							    ^^^^^
>  >  				ret = -EFAULT;
>  >  			} else {
>  >  				scrollfront(lines);
> 
>  Why was the `arg+1' changed to `arg+4'? Do we really want to skip 12 bytes?

It skips three bytes?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:36    [from the cache]
©2003-2008