commit 124f1ba33703524a312711f844859e4f012ac394
parent 7b9e1ce9ed2a82a6e4fb1e662bdc9123de58e5dc
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Thu, 18 Jul 2019 10:07:09 +0200
Fix error messages
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/stardis-compute.c b/src/stardis-compute.c
@@ -633,7 +633,7 @@ create_fluid
prohibited | T_PROHIBITED, NULL);
if (res != RES_OK) {
fprintf(stderr, "Invalid initial temperature expression: %s\n",
- t_expr);
+ tinit_expr);
goto error;
}
}
@@ -716,7 +716,7 @@ create_solid
prohibited | T_PROHIBITED, NULL);
if (res != RES_OK) {
fprintf(stderr, "Invalid initial temperature expression: %s\n",
- t_expr);
+ tinit_expr);
goto error;
}
}