Set permanent log buffer size to 512 Bytes 30/244930/1
authorDeokhyun Kim <dukan.kim@samsung.com>
Mon, 28 Sep 2020 05:06:38 +0000 (14:06 +0900)
committerDeokhyun Kim <dukan.kim@samsung.com>
Mon, 28 Sep 2020 05:06:38 +0000 (14:06 +0900)
Change-Id: I201477ac209e8ed118924e7280da864c6c973414
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
bt-service/services/bt-service-common.c

index 7a8b870..8578656 100644 (file)
@@ -1754,12 +1754,12 @@ void _bt_permanent_log(const char *fmt, ...)
        }
 
        if (fp != NULL) {
-               char buf[100];
+               char buf[512];
                if (is_first == TRUE)
                        __bt_write_firmware_name(fp);
 
                va_start(ap, fmt);
-               vsnprintf(buf, 100, fmt, ap);
+               vsnprintf(buf, 512, fmt, ap);
                va_end(ap);
                fprintf(fp, "%s %s\n", time_buf, buf);
        }