summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2009-05-31 19:39:46 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2009-05-31 19:39:46 +0000
commitcb508df715d4b487388a04cd08f0fd1556b5ca85 (patch)
treeb8cb7999164135047a61a363b1f9e6decf70818c
parent015c571fb6e65c138e507e3181db5ccdef7a8643 (diff)
Always show the start and end of the OpenBSD area in units of
sectors, not any 'human' unit in force.
-rw-r--r--sbin/disklabel/editor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c
index 37ae40d1b17..b8cfb71ed8f 100644
--- a/sbin/disklabel/editor.c
+++ b/sbin/disklabel/editor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: editor.c,v 1.213 2009/05/29 01:49:56 krw Exp $ */
+/* $OpenBSD: editor.c,v 1.214 2009/05/31 19:39:45 krw Exp $ */
/*
* Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -17,7 +17,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: editor.c,v 1.213 2009/05/29 01:49:56 krw Exp $";
+static char rcsid[] = "$OpenBSD: editor.c,v 1.214 2009/05/31 19:39:45 krw Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -2305,9 +2305,9 @@ display_edit(struct disklabel *lp, char unit, u_int64_t fr)
unit = toupper(unit);
printf("OpenBSD area: ");
- psize(starting_sector, unit, lp);
+ psize(starting_sector, 0, lp);
printf("-");
- psize(ending_sector, unit, lp);
+ psize(ending_sector, 0, lp);
printf("; size: ");
psize(ending_sector - starting_sector, unit, lp);
printf("; free: ");