From 2e76ba78ceca9e49b55384960e41f9abcfff153f Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 29 May 2009 15:10:27 -0700 Subject: [PATCH] Run Nindent on com32/mboot/solaris.c Automatically reformat com32/mboot/solaris.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin --- com32/mboot/solaris.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/com32/mboot/solaris.c b/com32/mboot/solaris.c index 1baf9c5..3b31660 100644 --- a/com32/mboot/solaris.c +++ b/com32/mboot/solaris.c @@ -38,15 +38,16 @@ void mboot_solaris_dhcp_hack(void) { - void *dhcpdata; - size_t dhcplen; + void *dhcpdata; + size_t dhcplen; - if (!pxe_get_cached_info(PXENV_PACKET_TYPE_DHCP_ACK, &dhcpdata, &dhcplen)) { - mbinfo.drives_addr = map_data(dhcpdata, dhcplen, 4, 0); - if (mbinfo.drives_addr) { - mbinfo.drives_length = dhcplen; - mbinfo.boot_device = 0x20ffffff; - mbinfo.flags = (mbinfo.flags & ~MB_INFO_DRIVE_INFO) | MB_INFO_BOOTDEV; + if (!pxe_get_cached_info(PXENV_PACKET_TYPE_DHCP_ACK, &dhcpdata, &dhcplen)) { + mbinfo.drives_addr = map_data(dhcpdata, dhcplen, 4, 0); + if (mbinfo.drives_addr) { + mbinfo.drives_length = dhcplen; + mbinfo.boot_device = 0x20ffffff; + mbinfo.flags = + (mbinfo.flags & ~MB_INFO_DRIVE_INFO) | MB_INFO_BOOTDEV; + } } - } } -- 2.7.4