aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2006-12-05 03:45:19 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2006-12-05 03:45:19 +0000
commitfb0f7d10dedb9e166d163c1b50c4dc16da09484a (patch)
tree8078f05e615893ac33ec9c9f8bb6763e4efb2675
parent7cc028fb0c410ec1665b9cf16143c166643a3c52 (diff)
downloadman-pages-fb0f7d10dedb9e166d163c1b50c4dc16da09484a.tar.gz
s/\\n/\\\\n/ in printf() string in example program.
-rw-r--r--man3/malloc_hook.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/malloc_hook.3 b/man3/malloc_hook.3
index 53496ed572..1286dbb51f 100644
--- a/man3/malloc_hook.3
+++ b/man3/malloc_hook.3
@@ -110,7 +110,7 @@ my_malloc_hook (size_t size, const void *caller) {
old_malloc_hook = __malloc_hook;
/* `printf' might call `malloc', so protect it too. */
- printf ("malloc(%u) called from %p returns %p\n",
+ printf ("malloc(%u) called from %p returns %p\\n",
(unsigned int) size, caller, result);
/* Restore our own hooks */