Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sbin/dump Pull up revision 1.14 (requested by is):
details: https://anonhg.NetBSD.org/src/rev/e5c59176c975
branches: netbsd-1-4
changeset: 470986:e5c59176c975
user: he <he%NetBSD.org@localhost>
date: Tue Oct 10 22:24:43 2000 +0000
description:
Pull up revision 1.14 (requested by is):
Format string cleanup.
diffstat:
sbin/dump/optr.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r eccb94a2b7ce -r e5c59176c975 sbin/dump/optr.c
--- a/sbin/dump/optr.c Tue Oct 10 22:24:40 2000 +0000
+++ b/sbin/dump/optr.c Tue Oct 10 22:24:43 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: optr.c,v 1.13 1998/04/01 16:15:40 kleink Exp $ */
+/* $NetBSD: optr.c,v 1.13.2.1 2000/10/10 22:24:43 he Exp $ */
/*-
* Copyright (c) 1980, 1988, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)optr.c 8.2 (Berkeley) 1/6/94";
#else
-__RCSID("$NetBSD: optr.c,v 1.13 1998/04/01 16:15:40 kleink Exp $");
+__RCSID("$NetBSD: optr.c,v 1.13.2.1 2000/10/10 22:24:43 he Exp $");
#endif
#endif /* not lint */
@@ -325,9 +325,9 @@
deltat = tstart_writing - tnow +
(1.0 * (tnow - tstart_writing))
/ blockswritten * tapesize;
- msg("%3.2f%% done, finished in %d:%02d\n",
- (blockswritten * 100.0) / tapesize,
- deltat / 3600, (deltat % 3600) / 60);
+ msg("%3.2f%% done, finished in %ld:%02ld\n",
+ (blockswritten * 100.0) / tapesize,
+ (long)(deltat / 3600), (long)((deltat % 3600) / 60));
}
}
Home |
Main Index |
Thread Index |
Old Index