From 74b4b515e6883882aa7d03edbfa05f45732202be Mon Sep 17 00:00:00 2001 From: Hyuk Lee Date: Mon, 8 May 2017 13:34:28 +0900 Subject: [PATCH] Fix the build error Change-Id: Ib2c8b4517d30d652cd9f65c6cc45049c5122b4ee Signed-off-by: Hyuk Lee --- bt-otp/bt-otpserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bt-otp/bt-otpserver.c b/bt-otp/bt-otpserver.c index de422c7..7950b54 100644 --- a/bt-otp/bt-otpserver.c +++ b/bt-otp/bt-otpserver.c @@ -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", -- 2.7.4