From 3f0a3e0de8f5a884611ddcd29656eb4ecb8e4518 Mon Sep 17 00:00:00 2001 From: Lionel Gauthier <lionel.gauthier@eurecom.fr> Date: Thu, 9 Apr 2015 09:19:12 +0000 Subject: [PATCH] patches13/0018-cosmetic.patch git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7064 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair2/UTIL/OMG/defs.h | 2 +- openair2/UTIL/OMG/static.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openair2/UTIL/OMG/defs.h b/openair2/UTIL/OMG/defs.h index ae34d84291f..9c98374c005 100644 --- a/openair2/UTIL/OMG/defs.h +++ b/openair2/UTIL/OMG/defs.h @@ -78,7 +78,7 @@ typedef struct mobility_struct mobility_struct; /*!< The typedef that reflects a struct node_struct { int id; /*!< The identifier of the node in question */ int gid; /*!< given id of node used for trace mobility */ - int type; /*!< The node's type, it is one of types enumarated in #node_types */ + node_types type; /*!< The node's type, it is one of types enumarated in #node_types */ int mobile; /*!< The node status: static or mobile */ double x_pos; /*!< The X coordinate of the current location of the node */ double y_pos; /*!< The Y coordinate of the current location of the node */ diff --git a/openair2/UTIL/OMG/static.c b/openair2/UTIL/OMG/static.c index c83f1c83c4b..6a787478266 100644 --- a/openair2/UTIL/OMG/static.c +++ b/openair2/UTIL/OMG/static.c @@ -131,8 +131,8 @@ place_static_node (node_struct * node) node->mob->journey_time = 0.0; LOG_I (OMG, - "[STATIC] Initial position of node ID: %d type(%d): (X = %.2f, Y = %.2f) speed = 0.0\n", - node->id, node->type, node->x_pos, node->y_pos); + "[STATIC] Initial position of node ID: %d type(%d: %s): (X = %.2f, Y = %.2f) speed = 0.0\n", + node->id, node->type, (node->type==eNB)?"eNB":(node->type==UE)?"UE":"Relay", node->x_pos, node->y_pos); node_vector_end[node->type] = (node_list *) add_entry (node, node_vector_end[node->type]); -- GitLab