Remove duplicate error code.
[paraslash.git] / vss.c
diff --git a/vss.c b/vss.c
index d74cec3ccf7f8feffbf92382ccfc26ac491d50c1..8ca37d435a40ce049b2ddfa0875325e41b4d61c9 100644 (file)
--- a/vss.c
+++ b/vss.c
@@ -363,7 +363,7 @@ static int recv_afs_msg(int *fd, uint32_t *code, uint32_t *data)
                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)) {