diff --git a/fsutils/mkgpt/mkgpt.c b/fsutils/mkgpt/mkgpt.c index 953b7fdd8..64630036a 100644 --- a/fsutils/mkgpt/mkgpt.c +++ b/fsutils/mkgpt/mkgpt.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include @@ -474,6 +475,12 @@ int main(int argc, FAR char **argv) } ret = verify_gpt_pratition(ptbl); + if (ret < 0) + { + lib_dumpbuffer("Dump GPT partition:", (FAR uint8_t *)ptbl, + sizeof(*ptbl)); + } + goto out; }