shut up the compiler a bit

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2012-07-21 17:36:36 +02:00
parent 4c9abd5aa4
commit 434be47f12
4 changed files with 8 additions and 9 deletions
+2 -1
View File
@@ -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));