summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-04-26 00:23:52 +0000
committerWayne Davison <wayned@samba.org>2007-04-26 00:23:52 +0000
commit8fc4033ef08e747c961c1bf6c43995a39bf732f4 (patch)
tree7e2ca7b57c7737fe6897c816e59584c83f0b725e /log.c
parentef35abb2b7aa64d42896661b8c7a13e89504ba31 (diff)
downloadrsync-8fc4033ef08e747c961c1bf6c43995a39bf732f4.tar.gz
rsync-8fc4033ef08e747c961c1bf6c43995a39bf732f4.tar.bz2
rsync-8fc4033ef08e747c961c1bf6c43995a39bf732f4.zip
Changed F_ROOTDIR() to F_PATHNAME().
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 a2da7875..0dc029cf 100644
--- a/log.c
+++ b/log.c
@@ -515,9 +515,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 && F_ROOTDIR(file)) {
+ if (am_sender && F_PATHNAME(file)) {
pathjoin(buf2, sizeof buf2,
- F_ROOTDIR(file), c);
+ F_PATHNAME(file), c);
clean_fname(buf2, 0);
if (fmt[1]) {
strlcpy(c, buf2, MAXPATHLEN);