summaryrefslogtreecommitdiff
path: root/android/system-emulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'android/system-emulator.c')
-rw-r--r--android/system-emulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/system-emulator.c b/android/system-emulator.c
index 61fb4967e..1545dcea1 100644
--- a/android/system-emulator.c
+++ b/android/system-emulator.c
@@ -86,7 +86,7 @@ static void run_bluetoothd(char *prg_name)
static void ctl_start(void)
{
- char prg_name[PATH_MAX];
+ char prg_name[PATH_MAX + 11];
pid_t pid;
snprintf(prg_name, sizeof(prg_name), "%s/%s", exec_dir, "bluetoothd");
@@ -114,7 +114,7 @@ static void ctl_start(void)
static void snoop_start(void)
{
- char prg_name[PATH_MAX];
+ char prg_name[PATH_MAX + 17];
char *prg_argv[3];
char *prg_envp[1];
pid_t pid;