summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-10-11 03:47:38 +0000
committerRoland McGrath <roland@gnu.org>1994-10-11 03:47:38 +0000
commitb76e5ac6585b07044d3f68bc84e83e18a26d9377 (patch)
treed7543880ead493c2eb1645df864a992e699705d9
parent7f925246e7ae530c9ab7de59ee3a64607918b6a5 (diff)
(main): Surround printed strings with `...' so output is as in manual.
-rw-r--r--manual/examples/memstrm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/examples/memstrm.c b/manual/examples/memstrm.c
index 7119f70d2d..1674c36e0b 100644
--- a/manual/examples/memstrm.c
+++ b/manual/examples/memstrm.c
@@ -10,10 +10,10 @@ main (void)
stream = open_memstream (&bp, &size);
fprintf (stream, "hello");
fflush (stream);
- printf ("buf = %s, size = %d\n", bp, size);
+ printf ("buf = `%s', size = %d\n", bp, size);
fprintf (stream, ", world");
fclose (stream);
- printf ("buf = %s, size = %d\n", bp, size);
+ printf ("buf = `%s', size = %d\n", bp, size);
return 0;
}