commit | 3fbb4443dbc6ae6a7d8b5165a4f3b1992502570f | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Tue Sep 01 12:34:18 2020 -0500 |
committer | Andrew Geissler <geissonator@yahoo.com> | Tue Sep 01 12:38:22 2020 -0500 |
tree | 6a6995abd23fe70793d09274339cdb6cbc8098e3 | |
parent | 1146f8c6e5f955fb10f5e846de31052be942a7f2 [diff] |
fix sizeof bug This code path is most likely not utilized anymore but upstream yocto is calling out a compile error on this: | control_host_obj.c: In function 'on_boot': | control_host_obj.c:131:8: error: 'write' reading 4 bytes from a region of size 2 [-Werror=stringop-overflow=] | 131 | rc = write(fd, one, sizeof(one)); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Iabb5bcc0b888a4e831c8fe8c1006e9b99097402a