Make df78c364 actually work.
Make df78c364 actually work.

Yeah, discovered in testing that it has to be O_RDONLY not O_WRONLY, and
apparently fixed it in the kernel tree but not here.  Woops.

Signed-off-by: Peter Jones <2e0a021e603479ff81838c00c3b770daca4e0214@redhat.com>

rhinstaller/efivar,rhboot/efivar,rhinstaller/efivar,vathpela/efivar-devel,rhboot/efivar