diff options
Diffstat (limited to 'sbin/gpt/add.c')
-rw-r--r-- | sbin/gpt/add.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/gpt/add.c b/sbin/gpt/add.c index ee6454d..f0ce9a8 100644 --- a/sbin/gpt/add.c +++ b/sbin/gpt/add.c @@ -65,13 +65,14 @@ add(int fd) gpt = map_find(MAP_TYPE_PRI_GPT_HDR); if (gpt == NULL) { - warnx("%s: error: device does not contain a GPT", device_name); + warnx("%s: error: no primary GPT header; run create or recover", + device_name); return; } tpg = map_find(MAP_TYPE_SEC_GPT_HDR); if (tpg == NULL) { - warnx("%s: error: no secundary table; run recover", + warnx("%s: error: no secondary GPT header; run recover", device_name); return; } |