vserver 2.0 rc7
[linux-2.6.git] / drivers / macintosh / ans-lcd.c
index c5adb05..5e0811d 100644 (file)
@@ -61,7 +61,7 @@ anslcd_write( struct file * file, const char __user * buf,
        printk(KERN_DEBUG "LCD: write\n");
 #endif
 
-       if ( verify_area(VERIFY_READ, buf, count) )
+       if (!access_ok(VERIFY_READ, buf, count))
                return -EFAULT;
        for ( i = *ppos; count > 0; ++i, ++p, --count ) 
        {