diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2008-01-01 17:15:04 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2008-01-01 17:15:04 +0000 |
commit | 54b205c5e0714fcdb50b4b7d1770ce0982851f2e (patch) | |
tree | 0f5d189bde1a4aa78d93cc8d2ac75ab95626750f /sbin | |
parent | 07a658ee35db91cef99ae137b2eed2221619760b (diff) |
Fix display of overlapping partitions to account for larger size and offset
fields.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/disklabel/editor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index 24a2189c720..0481ac53837 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.136 2008/01/01 16:22:27 krw Exp $ */ +/* $OpenBSD: editor.c,v 1.137 2008/01/01 17:15:03 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.136 2008/01/01 16:22:27 krw Exp $"; +static char rcsid[] = "$OpenBSD: editor.c,v 1.137 2008/01/01 17:15:03 krw Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -1117,7 +1117,7 @@ has_overlap(struct disklabel *lp, u_int64_t *freep, int resolve) / sizeof(**spp); printf("\nError, partitions %c and %c overlap:\n", 'a' + i, 'a' + j); - printf("# %13.13s %13.13s fstype " + printf("# %16.16s %16.16s fstype " "[fsize bsize cpg]\n", "size", "offset"); display_partition(stdout, lp, NULL, i, 0); display_partition(stdout, lp, NULL, j, 0); |