Fix the build error 07/128207/1
authorHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 8 May 2017 04:34:28 +0000 (13:34 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 8 May 2017 04:34:28 +0000 (13:34 +0900)
Change-Id: Ib2c8b4517d30d652cd9f65c6cc45049c5122b4ee
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
bt-otp/bt-otpserver.c

index de422c7..7950b54 100644 (file)
@@ -502,7 +502,7 @@ static void _bt_otp_method(GDBusConnection *connection,
 
                for (l = list; l != NULL; l = l->next) {
                        if (!l->data) continue;
-                       snprintf(absolute_path, sizeof(path), "%s%s", directory,
+                       snprintf(absolute_path, sizeof(absolute_path), "%s%s", directory,
                                                        (char *)l->data);
 
                        BT_INFO("filename: %s, absoulte_path: %s",