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:
parent
f623957fef
commit
6e5d42b9b0
@ -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", " ");
|
||||
|
Loading…
Reference in New Issue
Block a user