summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2007-06-10 11:38:28 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2007-06-10 11:38:28 +0000
commitd56e8615939b06d8e5358ba56ec52fc4ebab9c80 (patch)
tree725265ea81d43452efd5124713462443f8b711e5 /sbin
parentee0f444043f62b1989c63b9419c2e908f6c4793f (diff)
adjust the width of columns to match the geometry of current drives
ok deraadt@
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fdisk/part.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/fdisk/part.c b/sbin/fdisk/part.c
index 8d73fa55751..265ab0e25b9 100644
--- a/sbin/fdisk/part.c
+++ b/sbin/fdisk/part.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: part.c,v 1.43 2007/04/04 14:36:05 jmc Exp $ */
+/* $OpenBSD: part.c,v 1.44 2007/06/10 11:38:27 sobrado Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -281,13 +281,13 @@ PRT_print(int num, prt_t *partn, char *units)
i = unit_lookup(units);
if (partn == NULL) {
- printf(" Starting Ending LBA Info:\n");
- printf(" #: id C H S - C H S [ start: size ]\n");
+ printf(" Starting Ending LBA Info:\n");
+ printf(" #: id C H S - C H S [ start: size ]\n");
printf("------------------------------------------------------------------------\n");
} else {
size = ((double)partn->ns * unit_types[SECTORS].conversion) /
unit_types[i].conversion;
- printf("%c%1d: %.2X %4u %3u %2u - %4u %3u %2u [%12u:%12.0f%s] %s\n",
+ printf("%c%1d: %.2X %6u %3u %2u - %6u %3u %2u [%12u:%12.0f%s] %s\n",
(partn->flag == 0x80)?'*':' ',
num, partn->id,
partn->scyl, partn->shead, partn->ssect,