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:
ea0ea35
)
Output the who_am_i() info in out-of-memory() and overflow_exit().
author
Wayne Davison
<wayned@samba.org>
Sun, 24 Sep 2006 03:12:24 +0000
(
03:12
+0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 24 Sep 2006 03:12:24 +0000
(
03:12
+0000)
util.c
patch
|
blob
|
blame
|
history
diff --git
a/util.c
b/util.c
index
afe1f88
..
d8d396c
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-111,13
+111,13
@@
void print_child_argv(char **cmd)
void out_of_memory(char *str)
{
- rprintf(FERROR, "ERROR: out of memory in %s
\n", str
);
+ rprintf(FERROR, "ERROR: out of memory in %s
[%s]\n", str, who_am_i()
);
exit_cleanup(RERR_MALLOC);
}
void overflow_exit(char *str)
{
- rprintf(FERROR, "ERROR: buffer overflow in %s
\n", str
);
+ rprintf(FERROR, "ERROR: buffer overflow in %s
[%s]\n", str, who_am_i()
);
exit_cleanup(RERR_MALLOC);
}