aboutsummaryrefslogtreecommitdiff
path: root/libiberty/xmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/xmalloc.c')
-rw-r--r--libiberty/xmalloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libiberty/xmalloc.c b/libiberty/xmalloc.c
index cb923d9..3fc23a9 100644
--- a/libiberty/xmalloc.c
+++ b/libiberty/xmalloc.c
@@ -22,7 +22,8 @@ Boston, MA 02111-1307, USA. */
@deftypefn Replacement void* xmalloc (size_t)
Allocate memory without fail. If @code{malloc} fails, this will print
-a message to stderr (using the name set by @code{xmalloc_set_program_name},
+a message to @code{stderr} (using the name set by
+@code{xmalloc_set_program_name},
if any) and then call @code{xexit}. Note that it is therefore safe for
a program to contain @code{#define malloc xmalloc} in its source.