Module Name:    src
Committed By:   riz
Date:           Thu Jan  6 17:51:28 UTC 2011

Modified Files:
        src/sbin/gpt: add.c

Log Message:
Clarify the 'dkctl addwedge' usage message after creating a GPT
partition.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sbin/gpt/add.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/gpt/add.c
diff -u src/sbin/gpt/add.c:1.9 src/sbin/gpt/add.c:1.10
--- src/sbin/gpt/add.c:1.9	Thu Jan  6 16:30:40 2011
+++ src/sbin/gpt/add.c	Thu Jan  6 17:51:28 2011
@@ -29,7 +29,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/add.c,v 1.14 2006/06/22 22:05:28 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: add.c,v 1.9 2011/01/06 16:30:40 jakllsch Exp $");
+__RCSID("$NetBSD: add.c,v 1.10 2011/01/06 17:51:28 riz Exp $");
 #endif
 
 #include <sys/types.h>
@@ -163,8 +163,8 @@
 #endif
 #ifdef __NetBSD__
 	printf("Partition added, use:\n");
-	printf("\tdkctl %s addwedge dk<N> %" PRIu64 " %" PRIu64 " <type>\n",
-	    device_arg, map->map_start, map->map_size);
+	printf("\tdkctl %s addwedge <wedgename> %" PRIu64 " %" PRIu64
+	    " <type>\n", device_arg, map->map_start, map->map_size);
 	printf("to create a wedge for it\n");
 #endif
 }

Reply via email to