From 9068e357448be63feed0242b72db737cacb86271 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Fri, 8 May 2020 13:54:14 +0200 Subject: [PATCH] debug --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 35e2b60..e585079 100644 --- a/main.c +++ b/main.c @@ -176,7 +176,7 @@ int getprocinfo( int ppid, char cmdline[], char cmd[], char user[], char host_ip { time( &timet ); } - sprintf( date, "%s", frtime(&timet) ); + sprintf( date, "%s", frtime(timet) ); date[strlen(date)-1] = 0; //get the pid of the last processus