summaryrefslogtreecommitdiff
path: root/flist.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-09-09 16:17:01 +0000
committerWayne Davison <wayned@samba.org>2005-09-09 16:17:01 +0000
commit92cdc39372aced95b903b975d287891b59b9436d (patch)
tree75066f1e2dfde12f7dceeb47aac1ecaa506fef50 /flist.c
parent78be8e0fc9552189fe0c536a0b88e80ab79ca762 (diff)
downloadrsync-92cdc39372aced95b903b975d287891b59b9436d.tar.gz
When pop_dir(olddir) fails, pass the right string pointer
in the error message.
Diffstat (limited to 'flist.c')
-rw-r--r--flist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flist.c b/flist.c
index 4f40da8a..3544e276 100644
--- 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);
}
}