|
From: Jon S. <jon...@ya...> - 2003-01-05 20:40:35
|
It needs a copy_to_user too to work. Probably doesn't need the copy_from_user. Is the right fix? case FBIOGETCMAP: fb_copy_cmap(&info->cmap, &cmap, 0); if (copy_to_user((void *) arg, &cmap, sizeof(cmap))) return -EFAULT; return 0; ===== Jon Smirl jon...@ya... __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |