Refer to the old basedir variable as dir.root.
[rsync/rsync.git] / log.c
diff --git a/log.c b/log.c
index 43f490f..a25d8b8 100644 (file)
--- a/log.c
+++ b/log.c
@@ -375,7 +375,7 @@ static void log_formatted(enum logcode code,
                case 'o': n = op; break;
                case 'f':
                        pathjoin(buf2, sizeof buf2,
-                                file->basedir ? file->basedir : "",
+                                file->dir.root ? file->dir.root : "",
                                 f_name(file));
                        clean_fname(buf2, 0);
                        n = buf2;