We had AFS_SHORT_READ and SHORT_AFS_READ.
PARA_ERROR(BAD_AUDIO_FILE_SUFFIX, "unknown suffix"), \
PARA_ERROR(AUDIO_FORMAT, "audio format not recognized"), \
PARA_ERROR(CHUNK, "unable to get chunk"), \
- PARA_ERROR(SHORT_AFS_READ, "short read from afs socket"), \
PARA_ERROR(NOFD, "did not receive open fd from afs"), \
return -ERRNO_TO_PARA_ERROR(errno);
afsss = AFS_SOCKET_READY;
if (iov.iov_len != sizeof(buf))
- return -E_SHORT_AFS_READ;
+ return -E_AFS_SHORT_READ;
*code = *(uint32_t*)buf;
*data = *(uint32_t*)(buf + 4);
for (cmsg = CMSG_FIRSTHDR(&msg); cmsg; cmsg = CMSG_NXTHDR(&msg, cmsg)) {