diff options
author | 2009-05-31 19:39:45 +0000 | |
---|---|---|
committer | 2009-05-31 19:39:45 +0000 | |
commit | 59882f1dbe7793b69956dc608cad59a37688209d (patch) | |
tree | cb5a908d1ee852b57de603ce4a06a72cb1ad496e /sbin/disklabel/editor.c | |
parent | Don't define NFS before including kernel header files, (diff) | |
download | wireguard-openbsd-59882f1dbe7793b69956dc608cad59a37688209d.tar.xz wireguard-openbsd-59882f1dbe7793b69956dc608cad59a37688209d.zip |
Always show the start and end of the OpenBSD area in units of
sectors, not any 'human' unit in force.
Diffstat (limited to 'sbin/disklabel/editor.c')
-rw-r--r-- | sbin/disklabel/editor.c | 8 |
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: "); |