shithub: riscv

Download patch

ref: 66b9196f77442ba8a2cbb1396c7640fd4176c4eb
parent: 01b6aa0f9f756639fc437af62585c4bfa77319ba
author: cinap_lenrek <[email protected]>
date: Fri Feb 8 17:28:20 EST 2019

segment(3): use bind -c in examples (thanks henesy)

--- 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 @@
 .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