From: Jérôme Benoit Date: Sat, 1 Apr 2017 11:19:48 +0000 (+0200) Subject: TP_13 exo1: Beautify an error message X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a4e0f90382b77b7348666471628b41d567c108d2;p=TD_C.git TP_13 exo1: Beautify an error message Signed-off-by: Jérôme Benoit --- diff --git a/TP_13/exo1/lib/array.c b/TP_13/exo1/lib/array.c index 4445ca8..0922fe2 100644 --- a/TP_13/exo1/lib/array.c +++ b/TP_13/exo1/lib/array.c @@ -24,7 +24,7 @@ static void copy_tab(int src_tab[], int dest_tab[], unsigned src_tab_size, unsig /* FIXME: I think it's worth doing some sanity checks on the array size: * dest_tab_size >= src_tab_size */ if (src_tab == NULL || dest_tab == NULL) { - printf("please ensure you have created both arrays beforehand\n"); + printf("Please ensure you have created both arrays beforehand\n"); return; } for (unsigned i = 0; i < src_tab_size; i++) {