diff options
author | Tom Cosgrove <tom@cvs.openbsd.org> | 2004-06-24 22:41:40 +0000 |
---|---|---|
committer | Tom Cosgrove <tom@cvs.openbsd.org> | 2004-06-24 22:41:40 +0000 |
commit | db36f3a4dc2d64df9bbf7df57fa8cb68622ff387 (patch) | |
tree | 6c6d6928b1050b10db7db95f1c2b018cb3699210 | |
parent | f02777d3423dc56f57ca38be206942d1a6012150 (diff) |
Identify ourselves on the new console device when it's changed.
ok weingart@
-rw-r--r-- | sys/stand/boot/vars.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/stand/boot/vars.c b/sys/stand/boot/vars.c index 5fc04ed4355..48008c63e83 100644 --- a/sys/stand/boot/vars.c +++ b/sys/stand/boot/vars.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vars.c,v 1.11 2004/01/29 00:54:08 tom Exp $ */ +/* $OpenBSD: vars.c,v 1.12 2004/06/24 22:41:39 tom Exp $ */ /* * Copyright (c) 1998-2000 Michael Shalayeff @@ -145,6 +145,8 @@ Xtty(void) if (cnset(dev)) printf("%s console not present\n", cmd.argv[1]); + else + printf("%s\n", prog_ident); } } return 0; |