Don't need to print error messages unless there is an error

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-12-09 11:32:14 +00:00
parent 8bcc51addf
commit 314a2364c6
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ _read_msg(void)
errno = 0;
size = recvmsg(_drm_read_fd, &msg, 0);//MSG_CMSG_CLOEXEC);
// if (errno != 0)
if (errno != 0)
{
fprintf(stderr, "Recvd %li\n", size);
fprintf(stderr, "Recv Err: %d\n", errno);