Commit f3205726 authored by Taddeüs Kroes's avatar Taddeüs Kroes

- Worked on OS ass3.

parent ee76567d
......@@ -66,10 +66,9 @@ static void gup(FILE * log1, FILE * log2, int pipe_id[2], int myNumber)
else
{
antidote--;
fprintf(log1, "antidote used \n");
fprintf(log2, "antidote used \n");
fprintf(log3, "antidote used \n");
}
fprintf(log1, "antidote used (%d left) \n", antidote);
fprintf(log2, "antidote used (%d left) \n", antidote);
fprintf(log3, "antidote used (%d left) \n", antidote);
break;
}
else if( c == 'A' )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment