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

Unified Diff: src/platform/vboot_reference/cgptlib/cgptlib.c

Issue 2083020: support 'cgpt repair' (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
« no previous file with comments | « no previous file | src/platform/vboot_reference/utility/cgpt/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/vboot_reference/cgptlib/cgptlib.c
diff --git a/src/platform/vboot_reference/cgptlib/cgptlib.c b/src/platform/vboot_reference/cgptlib/cgptlib.c
index a6338ed7592b0a307c0e7d52fcf61abfa453a8fc..9a0f784bfee61688b12e3d2a693b90df25cb4646 100644
--- a/src/platform/vboot_reference/cgptlib/cgptlib.c
+++ b/src/platform/vboot_reference/cgptlib/cgptlib.c
@@ -27,8 +27,10 @@ const char *GptError(int errno) {
const char *error_string[] = {
/* GPT_SUCCESS */ "Success",
/* GPT_ERROR_NO_VALID_KERNEL */ "No valid kernel entry",
- /* GPT_ERROR_INVALID_HEADERS */ "Invalid headers",
- /* GPT_ERROR_INVALID_ENTRIES */ "Invalid entries",
+ /* GPT_ERROR_INVALID_HEADERS */ "Both primary and secondary headers are "
+ "invalid.",
+ /* GPT_ERROR_INVALID_ENTRIES */ "Both primary and secondary entries are "
+ "invalid.",
/* GPT_ERROR_INVALID_SECTOR_SIZE */ "Invalid sector size",
/* GPT_ERROR_INVALID_SECTOR_NUMBER */ "Invalid sector number",
/* GPT_ERROR_INVALID_UPDATE_TYPE */ "Invalid update type",
« no previous file with comments | « no previous file | src/platform/vboot_reference/utility/cgpt/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698