aboutsummaryrefslogtreecommitdiffstats
path: root/log.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-12-17 00:40:36 +0000
committerWayne Davison <wayned@samba.org>2006-12-17 00:40:36 +0000
commitdbd9ea3e5afd7564f41170e19eed7ebd7e974638 (patch)
treeefbb3bfbfcebf9e467124878976af0ab62bf81b5 /log.c
parent2ef03405174835db3736e38b192395c0c60bc8cb (diff)
downloadandroid_external_rsync-dbd9ea3e5afd7564f41170e19eed7ebd7e974638.tar.gz
android_external_rsync-dbd9ea3e5afd7564f41170e19eed7ebd7e974638.tar.bz2
android_external_rsync-dbd9ea3e5afd7564f41170e19eed7ebd7e974638.zip
Use F_ROOTDIR() in place of dir.root.
Diffstat (limited to 'log.c')
-rw-r--r--log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/log.c b/log.c
index fedeacdb..d5308b2f 100644
--- a/log.c
+++ b/log.c
@@ -516,9 +516,9 @@ static void log_formatted(enum logcode code, const char *format, const char *op,
strlcpy(c, fname, MAXPATHLEN);
} else
c = f_name(file, NULL);
- if (am_sender && file->dir.root) {
+ if (am_sender && F_ROOTDIR(file)) {
pathjoin(buf2, sizeof buf2,
- file->dir.root, c);
+ F_ROOTDIR(file), c);
clean_fname(buf2, 0);
if (fmt[1]) {
strlcpy(c, buf2, MAXPATHLEN);