summaryrefslogtreecommitdiff
path: root/doc/intprops.texi
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-12-06 12:49:58 +0100
committerBruno Haible <bruno@clisp.org>2020-12-06 12:49:58 +0100
commit5702213bff98dd47d3d546badcd0264014c186c6 (patch)
treebb9967b77f3beb585da2a64bb941d15e0574c03d /doc/intprops.texi
parent070a741427028003098cec8e1fbdff8ebad8c302 (diff)
downloadgnulib-5702213bff98dd47d3d546badcd0264014c186c6.tar.gz
doc: Tweak example.
* doc/intprops.texi (Checking Integer Overflow): Use 'printf', not 'print'.
Diffstat (limited to 'doc/intprops.texi')
-rw-r--r--doc/intprops.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/intprops.texi b/doc/intprops.texi
index f3a958a75f..b668285c51 100644
--- a/doc/intprops.texi
+++ b/doc/intprops.texi
@@ -167,7 +167,7 @@ arithmetic. For example:
if ((a + b < b) == (a < 0))
a += b;
else
- print ("overflow");
+ printf ("overflow\n");
@end example
@noindent