summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/stand/boot/cmd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/stand/boot/cmd.c b/sys/stand/boot/cmd.c
index b2bc36cc022..832b000b0cb 100644
--- a/sys/stand/boot/cmd.c
+++ b/sys/stand/boot/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.38 1998/05/25 19:17:40 mickey Exp $ */
+/* $OpenBSD: cmd.c,v 1.39 1998/05/30 01:48:31 mickey Exp $ */
/*
* Copyright (c) 1997,1998 Michael Shalayeff
@@ -358,8 +358,10 @@ Xstty()
static int
Xtime()
{
+ time_t tt = getsecs();
+
if (cmd.argc == 1)
- time_print();
+ printf(ctime(&tt));
else {
}