Improved an error message by using rsyserr().

This commit is contained in:
Wayne Davison
2004-10-07 17:02:39 +00:00
parent 64444de582
commit ab759cd27b

2
main.c
View File

@@ -477,7 +477,7 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
}
if (fd_pair(error_pipe) < 0) {
rprintf(FERROR,"error pipe failed in do_recv\n");
rsyserr(FERROR, errno, "pipe failed in do_recv");
exit_cleanup(RERR_SOCKETIO);
}