Skip to content

Commit

Permalink
Resolved Issue smuos#5 - The child process now prints out the median.
Browse files Browse the repository at this point in the history
  • Loading branch information
rikkustrife committed Sep 29, 2014
1 parent 850c27b commit 7d9f865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ int main(int argc, char *argv[]) {
if (rc == 0) //if child
{
medianValue = median(pt, length);
// fprintf(stdout, "The median is: %.2f\n", medianValue);
fprintf(stdout, "The median is: %.2f\n", medianValue);
}

if (rc > 0) //if parent
Expand Down

0 comments on commit 7d9f865

Please sign in to comment.