Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/gpt say that you need to destroy it first.
details: https://anonhg.NetBSD.org/src/rev/b05aae48383d
branches: trunk
changeset: 347935:b05aae48383d
user: christos <christos%NetBSD.org@localhost>
date: Sat Sep 24 13:40:55 2016 +0000
description:
say that you need to destroy it first.
diffstat:
sbin/gpt/gpt.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 56af899cb6e7 -r b05aae48383d sbin/gpt/gpt.c
--- a/sbin/gpt/gpt.c Sat Sep 24 01:05:51 2016 +0000
+++ b/sbin/gpt/gpt.c Sat Sep 24 13:40:55 2016 +0000
@@ -35,7 +35,7 @@
__FBSDID("$FreeBSD: src/sbin/gpt/gpt.c,v 1.16 2006/07/07 02:44:23 marcel Exp $");
#endif
#ifdef __RCSID
-__RCSID("$NetBSD: gpt.c,v 1.68 2016/06/09 15:12:54 christos Exp $");
+__RCSID("$NetBSD: gpt.c,v 1.69 2016/09/24 13:40:55 christos Exp $");
#endif
#include <sys/param.h>
@@ -795,7 +795,8 @@
if (map_find(gpt, MAP_TYPE_PRI_GPT_HDR) != NULL ||
map_find(gpt, MAP_TYPE_SEC_GPT_HDR) != NULL) {
- gpt_warnx(gpt, "Device already contains a GPT");
+ gpt_warnx(gpt, "Device already contains a GPT, "
+ "destroy it first");
return -1;
}
Home |
Main Index |
Thread Index |
Old Index