2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

add argv[0] to end stanza journal line format

This commit is contained in:
William King
1999-10-27 14:26:06 +00:00
parent c31c447853
commit 8e8964cd7e

View File

@@ -270,7 +270,10 @@ main(int argc, char **argv)
++tnum;
}
(void) t_getdate(T_buf, T_BIGBUF);
/* output end stanza to journal */
sprintf(T_buf, "%s:", argv[0]);
len = strlen(T_buf);
(void) t_getdate(T_buf + len, T_BIGBUF - len);
t_putinfo("E", T_buf);
return(0);