diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-03-10 13:29:48 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-03-10 13:29:48 +0100 |
commit | edd52d85e45405ef42b088035525f7cacc2fab77 (patch) | |
tree | 7bfd6b6601fafc9eb6a40f1b7b60a81cbf8a3dd5 /ext | |
parent | af6492bf9e9f3e5024e49941789a1c85db7d4906 (diff) | |
download | perl-edd52d85e45405ef42b088035525f7cacc2fab77.tar.gz |
Fix a printf compilation warning
Diffstat (limited to 'ext')
-rw-r--r-- | ext/XS-Typemap/stdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/XS-Typemap/stdio.c b/ext/XS-Typemap/stdio.c index fc4bf45c2f..da4fe570ac 100644 --- a/ext/XS-Typemap/stdio.c +++ b/ext/XS-Typemap/stdio.c @@ -23,6 +23,6 @@ int xsfclose ( FILE * stream ) { int xsfprintf ( FILE * stream, const char * text ) { - return fprintf( stream, text ); + return fprintf( stream, "%s", text ); } |