]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipcdev.git/blobdiff - linux/src/transport/TransportRpmsg.c
Linux/TransportRpmsg: Change ESHUTDOWN to ENOLINK in transportGet
[ipc/ipcdev.git] / linux / src / transport / TransportRpmsg.c
index 6e3d704a9e548cef40cf7b9925c38c41f77c24a5..ed3de5e4488aafa917e4d6a7ef5ffd895594c661 100644 (file)
@@ -642,7 +642,7 @@ static Int transportGet(int sock, MessageQ_Msg *retMsg)
     }
     if (byteCount < 0) {
         printf("recvfrom failed: %s (%d)\n", strerror(errno), errno);
-        if (errno == ESHUTDOWN) {
+        if (errno == ENOLINK) {
             status = MessageQ_E_SHUTDOWN;
         }
         else {