From: Wayne Davison Date: Thu, 7 Oct 2004 17:02:39 +0000 (+0000) Subject: Improved an error message by using rsyserr(). X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/ab759cd27becb80df39eb1a90e88c74cd7e9be77 Improved an error message by using rsyserr(). --- diff --git a/main.c b/main.c index 03af24bb..008f2164 100644 --- a/main.c +++ b/main.c @@ -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); }