Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(919)

Unified Diff: src/platform/vboot_reference/utility/cgpt/cgpt_add_modify_delete.c

Issue 2614002: Enable attributes to display and set properly. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/platform/vboot_reference/utility/cgpt/cgpt_add_modify_delete.c
diff --git a/src/platform/vboot_reference/utility/cgpt/cgpt_add_modify_delete.c b/src/platform/vboot_reference/utility/cgpt/cgpt_add_modify_delete.c
index c5fbe94e7beb384f50ab289d238e22077c61f09d..c4ddc46a7cd73293277660030f50772f6eb72463 100644
--- a/src/platform/vboot_reference/utility/cgpt/cgpt_add_modify_delete.c
+++ b/src/platform/vboot_reference/utility/cgpt/cgpt_add_modify_delete.c
@@ -242,8 +242,7 @@ int CgptAdm(int argc, char *argv[]) {
}
if (command == DELETE) {
- Guid unused = GPT_ENT_TYPE_UNUSED;
- Memcpy(&entry->type, &unused, sizeof(Guid));
+ Memcpy(&entry->type, &guid_unused, sizeof(Guid));
}
if (dirty) {

Powered by Google App Engine
This is Rietveld 408576698