summaryrefslogtreecommitdiffstats
path: root/src/partgpt.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-03-24 16:02:31 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-03-24 16:02:31 +0100
commitc873eb1dbb94ab4241945d4aec5bb1fb8421245c (patch)
tree9af706ca5d84f47c9baadc9243d6816eee7feb51 /src/partgpt.c
parentcdfe231f21efa69efb3f399d91c648e3b3dc1aa1 (diff)
Fix preprocessor directive in partgpt.c
Diffstat (limited to 'src/partgpt.c')
-rw-r--r--src/partgpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/partgpt.c b/src/partgpt.c
index 4e30fce..59e9161 100644
--- a/src/partgpt.c
+++ b/src/partgpt.c
@@ -332,7 +332,7 @@ static void partition_generate_gpt_entry(struct gpt_ent* gpt_entry, const partit
#elif defined HAVE_UUIDGEN
uuidgen((struct uuid*)(&gpt_entry->ent_uuid),1);
#else
-#warn You need a uuid_generate or uuidgen function
+#warning You need a uuid_generate or uuidgen function
#endif
swap_uuid_and_efi_guid((efi_guid_t *)(&gpt_entry->ent_uuid));
}
@@ -472,7 +472,7 @@ static int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const
#elif defined HAVE_UUIDGEN
uuidgen((struct uuid*)(&gpt->hdr_guid),1);
#else
-#warn You need a uuid_generate or uuidgen function
+#warning You need a uuid_generate or uuidgen function
#endif
swap_uuid_and_efi_guid((efi_guid_t *)(&gpt->hdr_guid));
gpt->hdr_crc_table=le32(get_crc32(gpt_entries, gpt_entries_size, 0xFFFFFFFF)^0xFFFFFFFF);