host: Make gpiochip path buffer larger

The name of a gpiochip can in theory be up to NAME_MAX characters long
(usually 255), which exceeds the length of the 30 byte buffer allocated
for it. In practice we won't need more than the 30 bytes, but the
smaller buffer trips a -Wformat-truncation warning from GCC that makes
the build fail. Make the buffer bigger to keep GCC happy.

TEST=make utillib compiles on BeagleBone Black

Change-Id: I528f395033f58057846e717ff126e7a5dca504e3
Signed-off-by: Jacob Garber <>
Tested-by: Julius Werner <>
Reviewed-by: Julius Werner <>
Reviewed-by: Angel Pons <>
Commit-Queue: Joel Kitching <>
1 file changed