From: kibak.yoon Date: Thu, 16 Nov 2017 12:14:03 +0000 (+0900) Subject: sensord: change the style to URI if it is unknown type X-Git-Tag: submit/tizen/20180402.084314~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90027075c1edab60bb22f525fdcede09e6e39707;p=platform%2Fcore%2Fsystem%2Fsensord.git sensord: change the style to URI if it is unknown type - Bug Fix Change-Id: Id56d8bad087a13db8dda4e441b75e0969235604b Signed-off-by: kibak.yoon --- diff --git a/src/shared/sensor_utils.cpp b/src/shared/sensor_utils.cpp index 9cd81416..9bae0e6f 100644 --- a/src/shared/sensor_utils.cpp +++ b/src/shared/sensor_utils.cpp @@ -128,7 +128,7 @@ const char *sensor::utils::get_uri(sensor_type_t type) { auto it = types.find(type); if (it == types.end()) - return "Unknown Type"; + return types[UNKNOWN_SENSOR]; return it->second; }