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