commit 1a30b1fc79cac8ef317742fc2b085340f252de27
parent de81ea794f6c4dd0e35c83debf9b58051e32ec27
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Mon, 19 Dec 2022 14:49:16 +0100
Fix error messages.
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/scad.c b/src/scad.c
@@ -193,7 +193,7 @@ scad_synchronize
if(!dev) {
/* No logger available for a message */
fprintf(stderr,
- "%s: cannot call API functions if star-cad in not initialized.\n",
+ "%s: cannot call API functions if star-cad is not initialized.\n",
FUNC_NAME);
res = RES_BAD_ARG;
goto error;
@@ -220,7 +220,7 @@ scad_run_ui(void)
if(!dev) {
/* No logger available for a message */
fprintf(stderr,
- "%s: cannot call API functions if star-cad in not initialized.\n",
+ "%s: cannot call API functions if star-cad is not initialized.\n",
FUNC_NAME);
res = RES_BAD_ARG;
goto error;
diff --git a/src/scad_device.c b/src/scad_device.c
@@ -117,7 +117,7 @@ check_device
if(!g_device) {
/* No logger available for a message */
fprintf(stderr,
- "%s: cannot call API functions if star-cad in not initialized.\n",
+ "%s: cannot call API functions if star-cad is not initialized.\n",
function_name);
res = RES_BAD_ARG;
goto error;