From: mquinson Date: Fri, 1 Oct 2010 10:45:54 +0000 (+0000) Subject: Fix typos [Arnaud Giersch] X-Git-Tag: v3_5~513 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f038e41126f2859e7ded06ea71afe803f25e012a Fix typos [Arnaud Giersch] git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8311 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/bindings/lua/simgrid_lua.c b/src/bindings/lua/simgrid_lua.c index 678842f1fe..cd9c316951 100644 --- a/src/bindings/lua/simgrid_lua.c +++ b/src/bindings/lua/simgrid_lua.c @@ -708,7 +708,7 @@ static int Host_set_function(lua_State *L) //(host,function,nb_args,list_args) return 0; } } - ERROR1("Host : %s Not Fount !!",host_id); + ERROR1("Host : %s Not Found !!",host_id); return 1; } diff --git a/src/gras/Msg/rl_msg.c b/src/gras/Msg/rl_msg.c index ff6769f998..c09210a7c1 100644 --- a/src/gras/Msg/rl_msg.c +++ b/src/gras/Msg/rl_msg.c @@ -117,7 +117,7 @@ void gras_msg_recv(gras_socket_t sock, gras_msg_t msg) msg->kind = (e_gras_msg_kind_t) c_kind; } CATCH(e) { - RETHROW0("Exception caught while trying to get the mesage header: %s"); + RETHROW0("Exception caught while trying to get the message header: %s"); } for (cpt = 0; cpt < 4; cpt++) diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index d33eb6446f..51ac3176e2 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -1535,7 +1535,7 @@ static void model_rulebased_set_ASroute(routing_component_t rc, const char* src, } static void model_rulebased_set_bypassroute(routing_component_t rc, const char* src, const char* dst, route_extended_t e_route) { - xbt_die("bypass routing not support for Route-Based model"); + xbt_die("bypass routing not supported for Route-Based model"); } #define BUFFER_SIZE 4096 /* result buffer size */ @@ -1828,7 +1828,7 @@ static void generic_set_processing_unit(routing_component_t rc, const char* name modeltype==&routing_models[SURF_MODEL_DIJKSTRACACHE]) _to_index = ((routing_component_dijkstra_t)rc)->to_index; - else xbt_die("\"generic_set_processing_unit\" not support"); + else xbt_die("\"generic_set_processing_unit\" not supported"); *id = xbt_dict_length(_to_index); xbt_dict_set(_to_index,name,id,xbt_free); } @@ -1848,7 +1848,7 @@ static void generic_set_autonomous_system(routing_component_t rc, const char* na modeltype==&routing_models[SURF_MODEL_DIJKSTRACACHE]) _to_index = ((routing_component_dijkstra_t)rc)->to_index; - else xbt_die("\"generic_set_autonomous_system\" not support"); + else xbt_die("\"generic_set_autonomous_system\" not supported"); *id = xbt_dict_length(_to_index); xbt_dict_set(_to_index,name,id,xbt_free); } @@ -1874,7 +1874,7 @@ static void generic_set_route(routing_component_t rc, const char* src, const cha _parse_routes = ((routing_component_dijkstra_t)rc)->parse_routes; _to_index = ((routing_component_dijkstra_t)rc)->to_index; - } else xbt_die("\"generic_set_route\" not support"); + } else xbt_die("\"generic_set_route\" not supported"); src_id = xbt_dict_get_or_null(_to_index, src); dst_id = xbt_dict_get_or_null(_to_index, dst); @@ -1911,7 +1911,7 @@ static void generic_set_ASroute(routing_component_t rc, const char* src, const c _parse_routes = ((routing_component_dijkstra_t)rc)->parse_routes; _to_index = ((routing_component_dijkstra_t)rc)->to_index; - } else xbt_die("\"generic_set_route\" not support"); + } else xbt_die("\"generic_set_route\" not supported"); src_id = xbt_dict_get_or_null(_to_index, src); dst_id = xbt_dict_get_or_null(_to_index, dst); @@ -1939,7 +1939,7 @@ static void generic_set_bypassroute(routing_component_t rc, const char* src, con } else if(modeltype==&routing_models[SURF_MODEL_DIJKSTRA]|| modeltype==&routing_models[SURF_MODEL_DIJKSTRACACHE]) { dict_bypassRoutes = ((routing_component_dijkstra_t)rc)->bypassRoutes; - } else xbt_die("\"generic_set_bypassroute\" not support"); + } else xbt_die("\"generic_set_bypassroute\" not supported"); route_name = bprintf("%s#%s",src,dst); xbt_assert2(xbt_dynar_length(e_route->generic_route.link_list)>0, "Invalid count of links, must be greater than zero (%s,%s)",src,dst); xbt_assert4(!xbt_dict_get_or_null(dict_bypassRoutes,route_name), @@ -1967,7 +1967,7 @@ static route_extended_t generic_get_bypassroute(routing_component_t rc, const ch } else if(modeltype==&routing_models[SURF_MODEL_DIJKSTRA]|| modeltype==&routing_models[SURF_MODEL_DIJKSTRACACHE]) { dict_bypassRoutes = ((routing_component_dijkstra_t)rc)->bypassRoutes; - } else xbt_die("\"generic_set_bypassroute\" not support"); + } else xbt_die("\"generic_set_bypassroute\" not supported"); routing_component_t src_as, dst_as; diff --git a/src/surf/surfxml_parse.c b/src/surf/surfxml_parse.c index 02f3bbf36b..aa49b3c529 100644 --- a/src/surf/surfxml_parse.c +++ b/src/surf/surfxml_parse.c @@ -571,7 +571,7 @@ void surf_wsL07_link_create_resource(char *name, void surf_add_route_element(char* link_ctn_id) { - xbt_die("\"surf_add_route_element\" not support"); + xbt_die("\"surf_add_route_element\" not supported"); // char *val; // val = xbt_strdup(link_ctn_id); // xbt_dynar_push(route_link_list,&val); @@ -581,7 +581,7 @@ void surf_add_route_element(char* link_ctn_id) */ void surf_route_set_resource(char *source_id,char *destination_id,xbt_dynar_t links_id,int action) { - xbt_die("\"surf_route_set_resource\" not support"); + xbt_die("\"surf_route_set_resource\" not supported"); //route_link_list = xbt_dynar_new(sizeof(char *), NULL); //routing_add_route(source_id,destination_id,links_id,action); @@ -592,7 +592,7 @@ void surf_route_set_resource(char *source_id,char *destination_id,xbt_dynar_t li */ void surf_route_add_host(char *host_id) { - xbt_die("\"surf_route_add_host\" not support"); + xbt_die("\"surf_route_add_host\" not supported"); //routing_add_host(host_id); } @@ -619,6 +619,6 @@ void surf_wsL07_add_traces(void) */ void surf_set_routes(void) { - xbt_die("\"surf_set_routes\" not support"); + xbt_die("\"surf_set_routes\" not supported"); //routing_set_routes(); }