summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getcwd.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/getcwd.3')
-rw-r--r--lib/libc/gen/getcwd.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/getcwd.3 b/lib/libc/gen/getcwd.3
index 27d37e6..4e08fab 100644
--- a/lib/libc/gen/getcwd.3
+++ b/lib/libc/gen/getcwd.3
@@ -66,7 +66,7 @@ is
.Dv NULL ,
space is allocated as necessary to store the pathname.
This space may later be
-.Xr free 3 Ns 'd.
+.Xr free 3 Ns 'd .
.Pp
The function
.Fn getwd
@@ -89,7 +89,7 @@ These routines have traditionally been used by programs to save the
name of a working directory for the purpose of returning to it.
A much faster and less error-prone method of accomplishing this is to
open the current directory
-.Pq Ql \&.
+.Pq Ql .\&
and use the
.Xr fchdir 2
function to return.
OpenPOWER on IntegriCloud