summaryrefslogtreecommitdiff
path: root/sbin/savecore/savecore.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-18 00:18:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-18 00:18:39 +0000
commitd73db8a32b42008714af861d1134c52d08fe9850 (patch)
treee42d0f1a43c63104c3df9b935077e39b4acb8b3a /sbin/savecore/savecore.c
parent7f233cf75d308fcaec631d8b340057b2ee5482c1 (diff)
crank "K to go" field to 8 digits; lukem@netbsd.org
Diffstat (limited to 'sbin/savecore/savecore.c')
-rw-r--r--sbin/savecore/savecore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c
index 79c5788592b..afacf6d09ca 100644
--- a/sbin/savecore/savecore.c
+++ b/sbin/savecore/savecore.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: savecore.c,v 1.22 2000/10/25 23:37:38 deraadt Exp $ */
+/* $OpenBSD: savecore.c,v 1.23 2001/01/18 00:18:38 deraadt Exp $ */
/* $NetBSD: savecore.c,v 1.26 1996/03/18 21:16:05 leo Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)savecore.c 8.3 (Berkeley) 1/2/94";
#else
-static char rcsid[] = "$OpenBSD: savecore.c,v 1.22 2000/10/25 23:37:38 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: savecore.c,v 1.23 2001/01/18 00:18:38 deraadt Exp $";
#endif
#endif /* not lint */
@@ -460,7 +460,7 @@ err1: syslog(LOG_WARNING, "%s: %s", path, strerror(errno));
syslog(LOG_NOTICE, "writing %score to %s",
compress ? "compressed " : "", path);
for (; dumpsize > 0; dumpsize -= nr) {
- (void)printf("%6dK\r", dumpsize / 1024);
+ (void)printf("%8dK\r", dumpsize / 1024);
(void)fflush(stdout);
nr = read(ifd, buf, MIN(dumpsize, sizeof(buf)));
if (nr <= 0) {