aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
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
commitcc2f008e43252e8b1330fa37e7ffc5baa0002d69 (patch)
tree1a70dc87cc7ac2de3762cec5e8ba464e6e8af564 /ld/ld.texinfo
parent676a64f422161303f6d57fca0d244400a1cdd576 (diff)
downloadgdb-cc2f008e43252e8b1330fa37e7ffc5baa0002d69.zip
gdb-cc2f008e43252e8b1330fa37e7ffc5baa0002d69.tar.gz
gdb-cc2f008e43252e8b1330fa37e7ffc5baa0002d69.tar.bz2
* ld.texinfo (Options): Fix example for --wrap.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo4
1 files changed, 2 insertions, 2 deletions
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