From cc2f008e43252e8b1330fa37e7ffc5baa0002d69 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 1 Mar 2004 17:33:36 +0000 Subject: [PATCH] * ld.texinfo (Options): Fix example for --wrap. --- ld/ChangeLog | 4 ++++ ld/ld.texinfo | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index f7772544b1e..81ebfa1d9ae 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2004-03-01 Andreas Schwab + + * ld.texinfo (Options): Fix example for --wrap. + 2004-02-25 Danny Smith * pe-dll.c (fill_edata): Check that exported_symbol_sections is diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 55f861e2e25..9710f4f48cd 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -1702,9 +1702,9 @@ Here is a trivial example: @smallexample void * -__wrap_malloc (int c) +__wrap_malloc (size_t c) @{ - printf ("malloc called with %ld\n", c); + printf ("malloc called with %zu\n", c); return __real_malloc (c); @} @end smallexample -- 2.30.2