2009-04-15 Pavel Roskin <proski@gnu.org>
* include/grub/types.h: Rename ULONG_MAX to GRUB_ULONG_MAX and LONG_MAX to GRUB_LONG_MAX. Introduce GRUB_LONG_MIN. Update all users of ULONG_MAX, LONG_MAX and LONG_MIN to use the new definitions.
This commit is contained in:
parent
6b4c4aa38b
commit
41bb0fe9a6
7 changed files with 22 additions and 13 deletions
|
@ -604,7 +604,7 @@ grub_raid_scan_device (int head_only)
|
|||
if (!disk)
|
||||
return 0;
|
||||
|
||||
if (disk->total_sectors == ULONG_MAX)
|
||||
if (disk->total_sectors == GRUB_ULONG_MAX)
|
||||
{
|
||||
grub_disk_close (disk);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue