I find these types of checks easier to read if the return code is stored first (`int r = drmModeCrtc...`) and then checked afterwards (`if (r < 0)...`).