diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-10-24 00:18:56 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-10-24 00:18:56 +0000 |
commit | d071eab9934fd298de3a3853bba0d21ab5b18340 (patch) | |
tree | 369bbb07156b99d0f5d08880e0e067375124c19d /sbin/disklabel/disklabel.c | |
parent | e5fe9a7d50a9e7c5d0c3a08ba5bd98aa834d9641 (diff) |
%f not %lf [%f is already a double]
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]); |