summaryrefslogtreecommitdiff
path: root/src/cmd/dist/README
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/dist/README')
-rw-r--r--src/cmd/dist/README4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/dist/README b/src/cmd/dist/README
index cf194faf0..e6d08cf02 100644
--- a/src/cmd/dist/README
+++ b/src/cmd/dist/README
@@ -31,8 +31,8 @@ Bufs or Vecs on the stack should be
... main code ...
bprintf(&b1, "hello, world");
vadd(&v1, bstr(&b1)); // v1 takes a copy of its argument
- bprintf(&b1, "another string");
- vadd(&v1, bstr(&b1)); // v1 now has two strings
+ bprintf(&b2, "another string");
+ vadd(&v1, bstr(&b2)); // v1 now has two strings
bfree(&b1);
bfree(&b2);