Diff between 42585f29c11b3f356e467e752d5e4b4d7b916780 and 651a5c1e1bab74596522cd784a9f1f894a89586c

Changed Files

File Additions Deletions Status
tools/btgatt-client.c +1 -2 modified

Full Patch

diff --git a/tools/btgatt-client.c b/tools/btgatt-client.c
index 0374a84..a76edb8 100644
--- a/tools/btgatt-client.c
+++ b/tools/btgatt-client.c
@@ -1198,8 +1198,7 @@ static void set_security_usage(void)
 
 static void cmd_set_security(struct client *cli, char *cmd_str)
 {
-	char *argvbuf[1];
-	char **argv = argvbuf;
+	char *argv[2];
 	int argc = 0;
 	char *endptr = NULL;
 	int level;