summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2004-03-01 17:33:36 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2004-03-01 17:33:36 +0000
commit3a8c8caf80e6db24864055b93a2732244a02ad9f (patch)
treefc08a97fb571e6213b86798b8479b2e7f77c7430
parentd119f26810a19d1e1906c59160d9661a5edde2fb (diff)
downloadbinutils-redhat-3a8c8caf80e6db24864055b93a2732244a02ad9f.tar.gz
* ld.texinfo (Options): Fix example for --wrap.
-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 f7772544b1..81ebfa1d9a 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 55f861e2e2..9710f4f48c 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