summaryrefslogtreecommitdiff
path: root/com32/mboot
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:27 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:27 -0700
commit2e76ba78ceca9e49b55384960e41f9abcfff153f (patch)
treed416222d58b742cec12988e9d8a61bffcef5d0d1 /com32/mboot
parentdacaf2280abb2ffee5035280270fa9e41e0d8775 (diff)
downloadsyslinux-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.c19
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;
+ }
}
- }
}