summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/coreutils.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 3e7a69868..34ccf5a6b 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -8718,7 +8718,7 @@ The intended use of this is to shred a removed temporary file.
For example:
@example
-i=`tempfile -m 0600`
+i=`mktemp`
exec 3<>"$i"
rm -- "$i"
echo "Hello, world" >&3