Commit e447ff3d authored by Sébastien Timmermans's avatar Sébastien Timmermans
Browse files

[ErrMsg][load] value -8 go to -9 in load

parent 8c90f364
......@@ -8,6 +8,7 @@
#include "mbs_load_libraries.h"
#include "mbs_path.h"
#include "mbs_message.h"
#include "mbs_errors_names.h"
#include "mbs_project_interface.h"
......@@ -139,7 +140,7 @@ int mbs_load_symbolic_functions(MbsData* mbs_data, const char* symbolicLib_path,
mbs_msg(">>LOAD>> Error in mbs_load_symbolic_functions, unable to load symbolic library.\n");
mbs_msg(" Library path: %s\n", lib_fullpath);
free(lib_fullpath);
return -8;
return _MBS_ERR_LOW_FILES;
}
mbs_data->fct.symb.mbs_link = (mbs_link_ptr)mbs_load_function(symbLibInfo, "mbs_link");
......@@ -183,7 +184,7 @@ int mbs_load_user_functions(MbsData* mbs_data, const char* userfctLib_path, cons
mbs_msg(">>LOAD>> Error in mbs_load_user_functions, unable to load user library.\n");
mbs_msg(" Library path: %s\n", lib_fullpath);
free(lib_fullpath);
return -8;
return _MBS_ERR_LOW_FILES;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment