diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2006-12-05 03:45:19 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2006-12-05 03:45:19 +0000 |
| commit | fb0f7d10dedb9e166d163c1b50c4dc16da09484a (patch) | |
| tree | 8078f05e615893ac33ec9c9f8bb6763e4efb2675 /man3/malloc_hook.3 | |
| parent | 7cc028fb0c410ec1665b9cf16143c166643a3c52 (diff) | |
| download | man-pages-fb0f7d10dedb9e166d163c1b50c4dc16da09484a.tar.gz | |
s/\\n/\\\\n/ in printf() string in example program.
Diffstat (limited to 'man3/malloc_hook.3')
| -rw-r--r-- | man3/malloc_hook.3 | 2 |
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 */ |
