diff options
author | james <james> | 2008-01-25 03:01:06 +0000 |
---|---|---|
committer | james <james> | 2008-01-25 03:01:06 +0000 |
commit | a6b1ebc71b36ed18ad3f2f2685067b5cd4a78f14 (patch) | |
tree | 6e18079c394cc348ddd8e4b6fdb7aac234cbd301 /src/sync.c | |
parent | ce6101382098005d4db87e4eea120aa8fae1d381 (diff) | |
download | gpt-a6b1ebc71b36ed18ad3f2f2685067b5cd4a78f14.tar.gz gpt-a6b1ebc71b36ed18ad3f2f2685067b5cd4a78f14.tar.bz2 gpt-a6b1ebc71b36ed18ad3f2f2685067b5cd4a78f14.zip |
*** empty log message ***
Diffstat (limited to 'src/sync.c')
-rw-r--r-- | src/sync.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -26,6 +26,9 @@ sync_tables (DISK * d) GPT_entry e = entry_read (d, &h.header, i); uint8_t type = 0, bootable = 0; + if (e.start>=2147483648) continue; + if (e.end>=2147483648) continue; + if (!guid_cmp (&e.type, &guid_efi)) { type = MBR_PARTITION_TYPE_EFI; |