Remove 'format-truncation' warning for GCC-9 40/221240/1
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 08:40:17 +0000 (08:40 +0000)
Change-Id: I0744cd4c5ef526f33d459650d0e5ca6e35b639e3
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit cea6ca162361fe3e5eaef7708c39c41c439a1c37)

hw/external_connection/external_connection.c

index f49083b8bd854b84e6ea08d039694f9210228079..2536b42687263c65d2102094516fa3d44608320a 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;