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 (parent:
920240a
)
Include the version number when we exit with an error or warning.
author
Wayne Davison
<wayned@samba.org>
Tue, 28 Mar 2006 18:23:24 +0000
(18:23 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 28 Mar 2006 18:23:24 +0000
(18:23 +0000)
log.c
patch
|
blob
|
blame
|
history
diff --git
a/log.c
b/log.c
index
034aacc
..
135a57a
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-769,11
+769,11
@@
void log_exit(int code, const char *file, int line)
/* VANISHED is not an error, only a warning */
if (code == RERR_VANISHED) {
/* VANISHED is not an error, only a warning */
if (code == RERR_VANISHED) {
- rprintf(FINFO, "rsync warning: %s (code %d) at %s(%d) [%s]\n",
- name, code, file, line, who_am_i());
+ rprintf(FINFO, "rsync warning: %s (code %d) at %s(%d) [%s
=%s
]\n",
+ name, code, file, line, who_am_i()
, RSYNC_VERSION
);
} else {
} else {
- rprintf(FERROR, "rsync error: %s (code %d) at %s(%d) [%s]\n",
- name, code, file, line, who_am_i());
+ rprintf(FERROR, "rsync error: %s (code %d) at %s(%d) [%s
=%s
]\n",
+ name, code, file, line, who_am_i()
, RSYNC_VERSION
);
}
}
}
}
}
}