summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-02-08 22:28:20 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2019-02-08 22:28:20 +0100
commit66b9196f77442ba8a2cbb1396c7640fd4176c4eb (patch)
tree5f19e825997592feecdb08bd53724d0ec56d910b
parent01b6aa0f9f756639fc437af62585c4bfa77319ba (diff)
downloadplan9front-66b9196f77442ba8a2cbb1396c7640fd4176c4eb.tar.xz
segment(3): use bind -c in examples (thanks henesy)
-rw-r--r--sys/man/3/segment4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/man/3/segment b/sys/man/3/segment
index f5995b67d..baafad6cf 100644
--- a/sys/man/3/segment
+++ b/sys/man/3/segment
@@ -3,7 +3,7 @@
segment \- long lived memory segments
.SH SYNOPSIS
.nf
-.B bind '#g' /mnt/segment
+.B bind -c '#g' /mnt/segment
.BI #g/ seg1
.BI #g/ seg1 /ctl
@@ -110,7 +110,7 @@ with mode ORDWR.
.PP
Create a one megabyte segment at address 0x10000000:
.EX
- % bind '#g' /mnt/segment
+ % bind -c '#g' /mnt/segment
% mkdir /mnt/segment/example
% echo 'va 0x10000000 0x100000' > /mnt/segment/example/ctl
.EE