diff --git a/C_Language/TP_SYS/tp_sema/consommateur.c b/C_Language/TP_SYS/tp_sema/consommateur.c index 107b8b8..f31dcdb 100644 --- a/C_Language/TP_SYS/tp_sema/consommateur.c +++ b/C_Language/TP_SYS/tp_sema/consommateur.c @@ -34,7 +34,11 @@ key_t sem_key_tpa = MUTEX_TPA; int main( int argc, char **argv) { - if(argc < 2) { printf("Usage : %s nSHM \n", argv[0]); exit(EXIT_FAILURE); } + if(argc < 2) + { + printf("Usage : %s nSHM \n", argv[0]); + exit(EXIT_FAILURE); + } shm_key = (key_t) atoi(argv[1]); MEMP * memoireP;