summaryrefslogtreecommitdiffstats
path: root/src/partgpt.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-11-16 12:53:21 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-11-16 12:53:21 +0100
commit07b1742903d2b483ca4afc1d39d1b644eb755e5a (patch)
treea72a91c3d25247474c5c91e5ce30a85c3e23d64d /src/partgpt.c
parent8453cfff02206ad932e8ddd3c24b34aa7c42af62 (diff)
Code cleanup after using LLVM/Clang Static Analyzer
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 809781a..5e04ee5 100644
--- a/src/partgpt.c
+++ b/src/partgpt.c
@@ -138,12 +138,12 @@ arch_fnct_t arch_gpt=
.set_prev_status=set_next_status_gpt,
.set_next_status=set_next_status_gpt,
.test_structure=test_structure_gpt,
+ .get_part_type=NULL,
.set_part_type=NULL,
- .is_part_known=is_part_known_gpt,
.init_structure=init_structure_gpt,
.erase_list_part=NULL,
.get_partition_typename=get_partition_typename_gpt,
- .get_part_type=NULL
+ .is_part_known=&is_part_known_gpt
};
static void swap_uuid_and_efi_guid(efi_guid_t *guid)