VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / drivers / video / aty / mach64_cursor.c
index 2b1bae9..d612fc4 100644 (file)
@@ -182,7 +182,7 @@ struct aty_cursor *__init aty_init_cursor(struct fb_info *info)
 
        cursor = kmalloc(sizeof(struct aty_cursor), GFP_ATOMIC);
        if (!cursor)
-               return 0;
+               return NULL;
        memset(cursor, 0, sizeof(*cursor));
 
        info->fix.smem_len -= PAGE_SIZE;