aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ld.texinfo4
2 files changed, 6 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f777254..81ebfa1 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2004-03-01 Andreas Schwab <schwab@suse.de>
+
+ * ld.texinfo (Options): Fix example for --wrap.
+
2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
* pe-dll.c (fill_edata): Check that exported_symbol_sections is
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 55f861e..9710f4f 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