Skip to content

Commit

Permalink
- meaningful error message.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9363 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Jun 24, 2011
1 parent 4b6d03b commit 5fe2465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_runtime/base_array.c
Expand Up @@ -79,7 +79,7 @@ int base_array_ok(base_array_t *a)
for (i = 0; i < a->ndims; ++i) {
if (a->dim_size[i] < 0)
{
fprintf(stderr, "base_array.c: array dimension size for dimension %d is < 0!\n", (int) a->dim_size[i]); fflush(stderr);
fprintf(stderr, "base_array.c: array dimension size for dimension %d is %d < 0!\n", i, (int) a->dim_size[i]); fflush(stderr);
return 0;
}
}
Expand Down

0 comments on commit 5fe2465

Please sign in to comment.