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/?p=TD_C.git;a=commitdiff_plain;h=a4e0f90382b77b7348666471628b41d567c108d2;hp=9c2b41f4a3539f1087e5560d8ceb301978f8a55b 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++) {