From 8e8964cd7e59728b5cde1a1ff7340eb49ae3aba3 Mon Sep 17 00:00:00 2001 From: William King Date: Wed, 27 Oct 1999 14:26:06 +0000 Subject: [PATCH] add argv[0] to end stanza journal line format --- lib/tests/t_api.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/tests/t_api.c b/lib/tests/t_api.c index 7c987a477d..9590b024ea 100644 --- a/lib/tests/t_api.c +++ b/lib/tests/t_api.c @@ -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);