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
1 file changed