diff options
author | Wayne Davison <wayned@samba.org> | 2006-09-24 03:12:24 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-09-24 03:12:24 +0000 |
commit | 2cd421d80978b9a1ab7ec0bd0eca50c03ef38a33 (patch) | |
tree | 84e255f935c05a08670605d458f0e1de7bb44d83 /util.c | |
parent | ea0ea357f4636b72a234f2744036f8be2ca8b407 (diff) | |
download | rsync-2cd421d80978b9a1ab7ec0bd0eca50c03ef38a33.tar.gz |
Output the who_am_i() info in out-of-memory() and overflow_exit().
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |