diff --git a/cv5/program.c b/cv5/program.c index 59ef9b2..ed6c9fa 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -45,7 +45,7 @@ int main() { students_capacity = (students_capacity + 1) * 2; student_t *new_students = realloc(students, students_capacity * sizeof(student_t)); if (new_students == NULL) { - fprintf(stderr, "Chyba"); + fprintf(stderr, "Error: Memory reallocation failed\n"); return 1; } students = new_students; @@ -68,4 +68,3 @@ int main() { return 0; } -