Change error diagnostic to be less confusing:

no calendar file -> no calendar file in current directory
This commit is contained in:
Andrey A. Chernov 1995-10-08 14:18:15 +00:00
parent 2b91a983a5
commit ec3e116140
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11335

View File

@ -285,7 +285,7 @@ opencal()
if (!freopen("calendar", "r", stdin)) {
if (doall)
return (NULL);
errx(1, "no calendar file.");
errx(1, "no calendar file in current directory.");
}
if (pipe(pdes) < 0)
return (NULL);