flash: psoc4: fix clang error
commit00603bf15638347256b1c330bafbeaef0d4d8287
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 27 May 2023 13:56:44 +0000 (27 15:56 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Fri, 2 Jun 2023 20:58:36 +0000 (2 20:58 +0000)
tree569722bd06c6c05a30be6529b66d5bd75fd21ac4
parent72131e05e9337f1f950f604f5e07683e887ce3ab
flash: psoc4: fix clang error

Clang 15.0.7 complains about snprintf output truncation due to
output between 13 and 22 bytes into a destination of size 20.

Increase the size of the buffer.

Change-Id: I0369255ca1bc02a0cf494f765e91a608c960a0d6
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7717
Tested-by: jenkins
src/flash/nor/psoc4.c