Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
79845f2
)
rsync prefix on mkdir and pushdir error messages.
author
Martin Pool
<mbp@samba.org>
Tue, 19 Feb 2002 01:07:24 +0000
(
01:07
+0000)
committer
Martin Pool
<mbp@samba.org>
Tue, 19 Feb 2002 01:07:24 +0000
(
01:07
+0000)
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
a54d67f
..
6213678
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-280,7
+280,8
@@
static char *get_local_name(struct file_list *flist,char *name)
return name;
if (do_mkdir(name,0777 & ~orig_umask) != 0) {
return name;
if (do_mkdir(name,0777 & ~orig_umask) != 0) {
- rprintf(FERROR,"mkdir %s : %s (1)\n",name,strerror(errno));
+ rprintf(FERROR, RSYNC_NAME ": mkdir %s: %s\n",
+ name, strerror(errno));
exit_cleanup(RERR_FILEIO);
} else {
if (verbose > 0)
exit_cleanup(RERR_FILEIO);
} else {
if (verbose > 0)
@@
-288,8
+289,8
@@
static char *get_local_name(struct file_list *flist,char *name)
}
if (!push_dir(name, 0)) {
}
if (!push_dir(name, 0)) {
- rprintf(FERROR,
"push_dir %s : %s (2)
\n",
- name,strerror(errno));
+ rprintf(FERROR,
RSYNC_NAME ": push_dir %s: %s
\n",
+ name,
strerror(errno));
exit_cleanup(RERR_FILESELECT);
}
exit_cleanup(RERR_FILESELECT);
}