Follow-up Comment #1, bug #43633 (project grub): You do not really need endian conversion. Just print each byte directly.
grub_printf("%d.%d.%d.%d", ptr[0], ptr[1], ptr[2], ptr[3]) Please update documentation too. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?43633> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org https://lists.gnu.org/mailman/listinfo/bug-grub