When pop_dir(olddir) fails, pass the right string pointer

in the error message.
This commit is contained in:
Wayne Davison committed 2005-09-09 16:17:01 +00:00
1 parent 78be8e0fc9
commit 92cdc39372
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
}