Stefano Sabatini <stefano.sabatini-lala at poste.it> writes: >> + fb->data = mmap(NULL, fb_fixinfo.line_length * fb_varinfo.yres, >> + PROT_READ, MAP_SHARED, fb->fd, 0); >> + if (!fb->data) { > > Autofix: > if ((int)fb->data == -1) if (fb->data == MAP_FAILED) -- M?ns Rullg?rd mans at mansr.com