Closed zpah closed 5 years ago
For context, in the latest code, I believe the this line is currently located here. In my testing I can confirm that is broken and not printing correctly. Luckily it's an easy fix:
Replace this...
error(16, "%s", "Could not set active state for %s%04X", prefices[mode], opts.num);
... with this...
error(16, "Could not set active state for %s%04X", prefices[mode], opts.num);
This seems to work on my system. I'll create a pull request in a few minutes.
Thanks, I've pulled your PR.
Wrong format string in: https://github.com/rhboot/efibootmgr/blob/2e018c08b92c800961ec010a6a4eeb34e8f3faa0/src/efibootmgr.c#L1620