mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 16:30:29 +00:00
Removed temporary bypass of time formatting (left behind from
some debugging session).
This commit is contained in:
parent
d932fb8624
commit
34bef52340
1 changed files with 0 additions and 4 deletions
|
@ -112,13 +112,9 @@ void vsyslog(int priority, const char *message, va_list ap) {
|
|||
if (!(priority & LOG_FACMASK)) priority |= log_facility;
|
||||
|
||||
/* Build the time string */
|
||||
#if 0
|
||||
now = time(NULL);
|
||||
gmtime_r(&now, &tm);
|
||||
strftime(timebuf, sizeof(timebuf), "%b %e %T", &tm);
|
||||
#else
|
||||
strcpy(timebuf, "3/23/2021");
|
||||
#endif
|
||||
|
||||
pid = (log_opt & LOG_PID) ? getpid() : 0;
|
||||
/* This is a clever trick to optionally include "[<pid>]"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue