From 333503496096954aa0ca54ccf727ef6dc38b8c60 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Wed, 13 Jun 2018 02:19:33 +0200 Subject: [PATCH] tools: Fix compiler warning Change-Id: Iebe47dd0a045e4066a546a13cbb7c601528aa5a7 Signed-off-by: himanshu --- tools/test-runner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test-runner.c b/tools/test-runner.c index 01001a8..2aa836e 100755 --- a/tools/test-runner.c +++ b/tools/test-runner.c @@ -232,7 +232,7 @@ static void check_virtualization(void) static void start_qemu(void) { - char cwd[PATH_MAX], initcmd[PATH_MAX], testargs[PATH_MAX]; + char cwd[PATH_MAX/2], initcmd[PATH_MAX], testargs[PATH_MAX]; char cmdline[CMDLINE_MAX]; char **argv; int i, pos; -- 2.7.4