Change-Id: Ib2d183daa28f48e12824f50ac78b989fac4627a2
Name: mused
Summary: A multimedia daemon
-Version: 0.3.167
+Version: 0.3.168
Release: 0
Group: System/Libraries
License: Apache-2.0
close(fds[1]);
/* Read in a string from the pipe */
if (read(fds[0], msg, sizeof(msg)) <= 0) {
- LOGE("Failed to read from a file descriptor [%d]", fds[0]);
+ strerror_r(errno, err_msg, MUSE_MSG_LEN_MAX);
+ LOGE("Failed to read from a file descriptor [%d] errno %d %s", fds[0], errno, err_msg);
close(fds[0]);
- return;
+ exit(EXIT_FAILURE);
}
close(fds[0]);