Replace "lb" with "dbox", "pd" with "gbar"
authorSung-jae Park <nicesj.park@samsung.com>
Sat, 25 Oct 2014 06:17:04 +0000 (15:17 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Sat, 25 Oct 2014 06:17:04 +0000 (15:17 +0900)
[model] Redwood,Kiran,B3(Wearable)
[binary_type] AP
[customer] Docomo/Orange/ATT/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Ie93e035f0fcbcd6058b9387ca8d1542c6b28a0cf

src/dynamicbox_internal.c

index c9e6e7b..6a7cec5 100644 (file)
@@ -150,7 +150,7 @@ int dbox_create_lock_file(struct dynamicbox_common *common, int is_gbar)
                return DBOX_STATUS_ERROR_OUT_OF_MEMORY;
        }
 
-       snprintf(file, len + 20, "%s.%s.lck", util_uri_to_path(common->id), is_gbar ? "pd" : "lb");
+       snprintf(file, len + 20, "%s.%s.lck", util_uri_to_path(common->id), is_gbar ? "gbar" : "dbox");
 
        if (is_gbar) {
                common->gbar.lock_fd = open(file, O_RDONLY);