aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCeri Davies <ceri@FreeBSD.org>2021-07-01 13:00:06 +0000
committerCeri Davies <ceri@FreeBSD.org>2021-07-01 13:02:00 +0000
commitd93a2f5d675a3dfcc8176826fa5904b206fde30d (patch)
tree643cff8983785871daf01b05612c8f572b746fa2
parentdb8d680ebe9b12c7d9e0eb8bf9940fcef709f5ec (diff)
downloadsrc-d93a2f5d675a3dfcc8176826fa5904b206fde30d.tar.gz
src-d93a2f5d675a3dfcc8176826fa5904b206fde30d.zip
fortune: correct documentation of default FORTUNE_PATH.
While here, fix a typo in a comment relating to FORTUNE_PATH
-rw-r--r--usr.bin/fortune/fortune/fortune.64
-rw-r--r--usr.bin/fortune/fortune/fortune.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/fortune/fortune/fortune.6 b/usr.bin/fortune/fortune/fortune.6
index 2660cf8bf20c..c04d5838941a 100644
--- a/usr.bin/fortune/fortune/fortune.6
+++ b/usr.bin/fortune/fortune/fortune.6
@@ -31,7 +31,7 @@
.\" @(#)fortune.6 8.3 (Berkeley) 4/19/94
.\" $FreeBSD$
.\"
-.Dd January 3, 2021
+.Dd July 1, 2021
.Dt FORTUNE 6
.Os
.Sh NAME
@@ -168,7 +168,7 @@ It is a colon-separated list of directories in which
.Nm
looks for data files.
If not set it will default to
-.Pa /usr/share/games/fortune .
+.Pa /usr/share/games/fortune:/usr/local/share/games/fortune .
If none of the directories specified exist, it will print a warning and exit.
.It Ev FORTUNE_SAVESTATE
If set, fortune will save some state about what fortune
diff --git a/usr.bin/fortune/fortune/fortune.c b/usr.bin/fortune/fortune/fortune.c
index 724fb4a2372e..f375ec645ede 100644
--- a/usr.bin/fortune/fortune/fortune.c
+++ b/usr.bin/fortune/fortune/fortune.c
@@ -1380,7 +1380,7 @@ usage(void)
/*
* getpath
- * Set up file search patch from environment var FORTUNE_PATH;
+ * Set up file search path from environment var FORTUNE_PATH;
* if not set, use the compiled in FORTDIR.
*/