]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
When pop_dir(olddir) fails, pass the right string pointer
authorWayne Davison <wayned@samba.org>
Fri, 9 Sep 2005 16:17:01 +0000 (16:17 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 9 Sep 2005 16:17:01 +0000 (16:17 +0000)
in the error message.

flist.c

diff --git a/flist.c b/flist.c
index 4f40da8a7aea395f9138209f80f0185c5e10d88a..3544e27603f6488352c394ee78dddb246de6b105 100644 (file)
--- a/flist.c
+++ b/flist.c
@@ -1244,7 +1244,7 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
                        flist_dir_len = 0;
                        if (!pop_dir(olddir)) {
                                rsyserr(FERROR, errno, "pop_dir %s failed",
-                                       full_fname(dir));
+                                       full_fname(olddir));
                                exit_cleanup(RERR_FILESELECT);
                        }
                }