aboutsummaryrefslogtreecommitdiffstats
path: root/sample/mdiskchk.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-05-03 17:32:15 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-05-03 17:32:15 -0700
commit28eecd8965aedbd75727fb0797a2e7033d5c54ee (patch)
tree1cac9ffc5f7fe7fd82d59b4accd7b8cf85762f74 /sample/mdiskchk.c
parentf8c463722022008c8412a69f90576d2bf38818ed (diff)
downloadsyslinux-28eecd8965aedbd75727fb0797a2e7033d5c54ee.tar.gz
syslinux-28eecd8965aedbd75727fb0797a2e7033d5c54ee.tar.xz
syslinux-28eecd8965aedbd75727fb0797a2e7033d5c54ee.zip
Across-the-board stealth whitespace cleanup
Diffstat (limited to 'sample/mdiskchk.c')
-rw-r--r--sample/mdiskchk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sample/mdiskchk.c b/sample/mdiskchk.c
index 0b4990fb..d13b8fb4 100644
--- a/sample/mdiskchk.c
+++ b/sample/mdiskchk.c
@@ -1,5 +1,5 @@
/* -*- c -*- ------------------------------------------------------------- *
- *
+ *
* Copyright 2003-2004 H. Peter Anvin - All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
@@ -72,7 +72,7 @@ struct memdiskinfo * query_memdisk(int drive)
mov _es, es ;
mov _di, di ;
}
-
+
if ( _eax >> 16 != 0x4d21 ||
_ecx >> 16 != 0x4d45 ||
_edx >> 16 != 0x4944 ||
@@ -92,7 +92,7 @@ struct memdiskinfo * query_memdisk(int drive)
mm.cylinders = ((_ecx >> 8) & 0xff) + ((_ecx & 0xc0) << 2) + 1;
mm.heads = ((_edx >> 8) & 0xff) + 1;
mm.sectors = (_ecx & 0x3f);
-
+
return &mm;
}
@@ -142,6 +142,6 @@ int main(int argc, char *argv[])
found++;
}
}
-
+
return found;
}