mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 13:52:54 +00:00
shut up the compiler a bit
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -49,7 +49,8 @@ int main(int argc, char *argv[])
|
||||
|
||||
ret = drmIoctl(fd, CONTEXT_CREATE_IOCTL, &create);
|
||||
if (ret != 0 && (errno == ENODEV || errno == EINVAL)) {
|
||||
fprintf(stderr, "Kernel is too old, or contexts not supported\n", strerror(errno));
|
||||
fprintf(stderr, "Kernel is too old, or contexts not supported: %s\n",
|
||||
strerror(errno));
|
||||
exit(77);
|
||||
} else if (ret != 0) {
|
||||
fprintf(stderr, "%s\n", strerror(errno));
|
||||
|
||||
Reference in New Issue
Block a user