diff --git a/main.c b/main.c index 21fcc8d..d65dd5b 100644 --- a/main.c +++ b/main.c @@ -151,9 +151,10 @@ int getpids(int pid, int exploded[]) pch = strtok( str, separator ); while( pch != NULL ) { + printf("%s\n", pch); exploded[x++] = atoi( pch ); pch = strtok( NULL , separator ); - printf("%s\n", pch); + } fclose(fh);