Fix the build error
[platform/core/connectivity/bluetooth-frwk.git] / 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",