Remove 'format-truncation' warning for GCC-9
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 30 Dec 2019 07:53:31 +0000 (16:53 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 30 Dec 2019 07:53:31 +0000 (16:53 +0900)
Change-Id: I0744cd4c5ef526f33d459650d0e5ca6e35b639e3
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
hw/external_connection/external_connection.c

index f49083b..2536b42 100644 (file)
@@ -149,7 +149,7 @@ static int external_connection_get_current_state(
 {
        int ret, i;
        struct connection_info info;
-       char buf[8];
+       char buf[16];
 
        if (!updated_cb)
                return -EINVAL;