diff options
author | jkh <jkh@FreeBSD.org> | 1996-07-10 11:38:29 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-07-10 11:38:29 +0000 |
commit | 9e15f9a31f4d8a51406b555accf7c66520a583c8 (patch) | |
tree | f8e5d5bea94366a483571cdf0d8f296fdf3e8ca1 /release/sysinstall/dist.c | |
parent | e63b920bacf1d4ea8002f3fff5029c62c7c1b46a (diff) | |
download | FreeBSD-src-9e15f9a31f4d8a51406b555accf7c66520a583c8.zip FreeBSD-src-9e15f9a31f4d8a51406b555accf7c66520a583c8.tar.gz |
Better error checking in helpfile expander.
Tart up some of the output a little.
Diffstat (limited to 'release/sysinstall/dist.c')
-rw-r--r-- | release/sysinstall/dist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/dist.c b/release/sysinstall/dist.c index 0ecdbd0..79b7218 100644 --- a/release/sysinstall/dist.c +++ b/release/sysinstall/dist.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: dist.c,v 1.63 1996/07/09 16:28:59 jkh Exp $ + * $Id: dist.c,v 1.64 1996/07/09 16:57:14 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -461,7 +461,7 @@ distExtract(char *parent, Distribution *me) seconds = stop.tv_sec + (stop.tv_usec / 1000000.0); if (!seconds) seconds = 1; - msgInfo("%d bytes read from %s dist, chunk %d of %d @ %-4.1f KB/sec.", + msgInfo("%10d bytes read from %s dist, chunk %2d of %2d @ %4.1f KB/sec.", total, dist, chunk + 1, numchunks, (chunktotal / seconds) / 1024.0); retval = write(fd2, buf, n); if (retval != n) { |