Let wall report the local timezone as well on output.

PR:		17867
Submitted by:	Joel Ray Holveck <joelh@gnu.org>
Nagged by:	nrahlstr
This commit is contained in:
Jeroen Ruigrok van der Werven 2000-07-27 07:58:47 +00:00
parent f623957fef
commit 6e5d42b9b0

View File

@ -172,8 +172,8 @@ makemsg(fname)
whom, hostname);
(void)fprintf(fp, "%-79.79s\007\007\r\n", lbuf);
(void)snprintf(lbuf, sizeof(lbuf),
" (%s) at %d:%02d ...", ttyname(2),
lt->tm_hour, lt->tm_min);
" (%s) at %d:%02d %s...", ttyname(2),
lt->tm_hour, lt->tm_min, lt->tm_zone);
(void)fprintf(fp, "%-79.79s\r\n", lbuf);
}
(void)fprintf(fp, "%79s\r\n", " ");