summaryrefslogtreecommitdiff
path: root/Documentation/userspace-api/unshare.rst
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2017-05-13 16:41:38 +0300
committerJonathan Corbet <corbet@lwn.net>2017-05-18 19:23:10 +0300
commit5e33994dca0e501336b52d8aec5327a9dec6430f (patch)
tree9ae7e66ba41ad57d37dde383c0f89e3d21e0e84a /Documentation/userspace-api/unshare.rst
parente3bb40c010087a49ed03cfb97ca28390d0a25c67 (diff)
downloadlinux-5e33994dca0e501336b52d8aec5327a9dec6430f.tar.xz
doc-rst: fix inline emphasis in unshare.rst
The asterisk of the pointer is interpreted as a start tag for inline emphasis. Asterisks which are not Sphinx markup need to be quoted in rst-files. This fixes the Sphinx warning: Documentation/userspace-api/unshare.rst:108: WARNING: Inline emphasis start-string without end-string. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/userspace-api/unshare.rst')
-rw-r--r--Documentation/userspace-api/unshare.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/userspace-api/unshare.rst b/Documentation/userspace-api/unshare.rst
index 737c192cf4e7..877e90a35238 100644
--- a/Documentation/userspace-api/unshare.rst
+++ b/Documentation/userspace-api/unshare.rst
@@ -107,7 +107,7 @@ the benefits of this new feature can exceed its cost.
unshare() reverses sharing that was done using clone(2) system call,
so unshare() should have a similar interface as clone(2). That is,
-since flags in clone(int flags, void *stack) specifies what should
+since flags in clone(int flags, void \*stack) specifies what should
be shared, similar flags in unshare(int flags) should specify
what should be unshared. Unfortunately, this may appear to invert
the meaning of the flags from the way they are used in clone(2).