diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-29 15:10:27 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-29 15:10:27 -0700 |
commit | 2e76ba78ceca9e49b55384960e41f9abcfff153f (patch) | |
tree | d416222d58b742cec12988e9d8a61bffcef5d0d1 /com32/mboot | |
parent | dacaf2280abb2ffee5035280270fa9e41e0d8775 (diff) | |
download | syslinux-2e76ba78ceca9e49b55384960e41f9abcfff153f.tar.gz |
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 <hpa@zytor.com>
Diffstat (limited to 'com32/mboot')
-rw-r--r-- | com32/mboot/solaris.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/com32/mboot/solaris.c b/com32/mboot/solaris.c index 1baf9c53..3b316606 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; + } } - } } |