diff options
Diffstat (limited to 'sbin/disklabel/disklabel.c')
-rw-r--r-- | sbin/disklabel/disklabel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c index ae5a22daebd..4e5d2181353 100644 --- a/sbin/disklabel/disklabel.c +++ b/sbin/disklabel/disklabel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.c,v 1.45 1997/10/20 07:09:41 deraadt Exp $ */ +/* $OpenBSD: disklabel.c,v 1.46 1997/10/24 00:18:55 millert Exp $ */ /* $NetBSD: disklabel.c,v 1.30 1996/03/14 19:49:24 ghudson Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char rcsid[] = "$OpenBSD: disklabel.c,v 1.45 1997/10/20 07:09:41 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: disklabel.c,v 1.46 1997/10/24 00:18:55 millert Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -898,7 +898,7 @@ display_partition(f, lp, i, unit, width) fprintf(f, " %c: %*u %*u ", 'a' + i, width, pp->p_size, width, pp->p_offset); else - fprintf(f, " %c: %*.1lf%c %*.1lf%c ", 'a' + i, + fprintf(f, " %c: %*.1f%c %*.1f%c ", 'a' + i, width-1, p_size, unit, width-1, p_offset, unit); if ((unsigned) pp->p_fstype < FSMAXTYPES) fprintf(f, "%8.8s", fstypenames[pp->p_fstype]); |