Commit 263da26b authored by Chris Wilson's avatar Chris Wilson 🤔

intel-gpu-overlay: Improve error message for failure to open an output

Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent be6e32b9
......@@ -903,7 +903,7 @@ int main(int argc, char **argv)
if (ctx.surface == NULL)
ctx.surface = kms_overlay_create(&config, &ctx.width, &ctx.height);
if (ctx.surface == NULL)
return ENOMEM;
return ENXIO;
if (daemonize && daemon(0, 0))
return EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment