correction code
This commit is contained in:
@@ -44,7 +44,7 @@ void piped(){
|
||||
char buffer[2048];
|
||||
read(fd[0], buffer, sizeof(buffer));
|
||||
|
||||
printf("My child sends me : %s\n", buffer);
|
||||
printf("My child sends me : %s", buffer);
|
||||
close(fd[0]);
|
||||
wait(NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user