Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sbin/dump Pull up revision 1.29 (requested by tron):
details: https://anonhg.NetBSD.org/src/rev/04539f6149d5
branches: netbsd-1-5
changeset: 491756:04539f6149d5
user: he <he%NetBSD.org@localhost>
date: Tue May 15 21:55:58 2001 +0000
description:
Pull up revision 1.29 (requested by tron):
Fix bug in new ``e'' option: only eject tape if it is full, not
if the dump was finished.
diffstat:
sbin/dump/main.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ebbe095d2b04 -r 04539f6149d5 sbin/dump/main.c
--- a/sbin/dump/main.c Tue May 15 21:55:45 2001 +0000
+++ b/sbin/dump/main.c Tue May 15 21:55:58 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.25.6.2 2001/05/09 19:16:19 he Exp $ */
+/* $NetBSD: main.c,v 1.25.6.3 2001/05/15 21:55:58 he Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993, 1994
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/1/95";
#else
-__RCSID("$NetBSD: main.c,v 1.25.6.2 2001/05/09 19:16:19 he Exp $");
+__RCSID("$NetBSD: main.c,v 1.25.6.3 2001/05/15 21:55:58 he Exp $");
#endif
#endif /* not lint */
@@ -561,7 +561,7 @@
msg("Date this dump completed: %s", ctime(&tnow));
msg("Average transfer rate: %d KB/s\n", xferrate / tapeno);
putdumptime();
- trewind();
+ trewind(0);
broadcast("DUMP IS DONE!\7\7\n");
msg("DUMP IS DONE\n");
Exit(X_FINOK);
Home |
Main Index |
Thread Index |
Old Index