From: Wayne Davison Date: Sun, 24 Sep 2006 03:12:24 +0000 (+0000) Subject: Output the who_am_i() info in out-of-memory() and overflow_exit(). X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/2cd421d80978b9a1ab7ec0bd0eca50c03ef38a33 Output the who_am_i() info in out-of-memory() and overflow_exit(). --- diff --git a/util.c b/util.c index afe1f884..d8d396cf 100644 --- 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); }