summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ttymon/tmexpress.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/ttymon/tmexpress.c')
-rw-r--r--usr/src/cmd/ttymon/tmexpress.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/usr/src/cmd/ttymon/tmexpress.c b/usr/src/cmd/ttymon/tmexpress.c
index 79c140c2cb..c01a67142e 100644
--- a/usr/src/cmd/ttymon/tmexpress.c
+++ b/usr/src/cmd/ttymon/tmexpress.c
@@ -20,15 +20,12 @@
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -109,11 +106,9 @@ ttymon_express(int argc, char **argv)
read_ttydefs(NULL, FALSE);
- if ((pmtab->p_device != NULL) && (*(pmtab->p_device) != '\0') &&
- strcmp(pmtab->p_device, "/dev/console") == 0) {
+ if ((pmtab->p_device != NULL) && (*(pmtab->p_device) != '\0'))
while (checkut_line(pmtab->p_device))
sleep(15);
- }
if ((pmtab->p_device == NULL) || (*(pmtab->p_device) == '\0')) {
devname = find_ttyname(0);