summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-01-16 08:03:57 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-01-16 08:03:57 +0000
commit332fc49cfc22e2471e313185038ae8965ab6fdaf (patch)
treebef7d46a24a0aa3e743cc567ef4152f9c4c90ce2
parent7ecdb9345534a8ee40801469eaff045d8a61a414 (diff)
use RB_TIMEBAD to indicate that the time is wrong and should not be copied
to the battery backed up clock via resettodr() in boot().
-rw-r--r--sys/ddb/db_command.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index 4ed6436264c..1f3045b581a 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_command.c,v 1.9 1996/05/31 10:37:24 niklas Exp $ */
+/* $OpenBSD: db_command.c,v 1.10 1997/01/16 08:03:56 kstailey Exp $ */
/* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */
/*
@@ -521,7 +521,7 @@ db_boot_sync_cmd(addr, haddr, count, modif)
db_expr_t count;
char *modif;
{
- boot(RB_AUTOBOOT);
+ boot(RB_AUTOBOOT | RB_TIMEBAD);
}
void
@@ -531,7 +531,7 @@ db_boot_crash_cmd(addr, haddr, count, modif)
db_expr_t count;
char *modif;
{
- boot(RB_NOSYNC | RB_DUMP);
+ boot(RB_NOSYNC | RB_DUMP | RB_TIMEBAD);
}
void
@@ -541,5 +541,5 @@ db_boot_dump_cmd(addr, haddr, count, modif)
db_expr_t count;
char *modif;
{
- boot(RB_DUMP);
+ boot(RB_DUMP | RB_TIMEBAD);
}