From 6d7d3b73e7827afbaf4dde913dbd0d5fc190d1a2 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Thu, 7 May 2020 17:16:44 +0200 Subject: [PATCH] debug --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 15c5e1c..551646a 100644 --- a/main.c +++ b/main.c @@ -26,7 +26,7 @@ int getutmp( int pid ) { struct utmp * utmp; setutent(); - while ( (utmp = getutent()) == NULL ) + while ( (utmp = getutent()) != NULL ) { printf("toto"); }