From 281888b30170d9201cff6510aa98cb0a7151b09e Mon Sep 17 00:00:00 2001 From: jbeck Date: Thu, 6 Dec 2007 19:29:56 -0800 Subject: backout 5074362: causes hangs on reboot --- usr/src/uts/common/os/logsubr.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'usr/src/uts/common/os/logsubr.c') diff --git a/usr/src/uts/common/os/logsubr.c b/usr/src/uts/common/os/logsubr.c index da7536a071..729db9a130 100644 --- a/usr/src/uts/common/os/logsubr.c +++ b/usr/src/uts/common/os/logsubr.c @@ -20,7 +20,7 @@ */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -252,7 +252,7 @@ log_init(void) printf("\rSunOS Release %s Version %s %u-bit\n", utsname.release, utsname.version, NBBY * (uint_t)sizeof (void *)); printf("Copyright 1983-2007 Sun Microsystems, Inc. " - "All rights reserved.\nUse is subject to license terms.\n"); + "All rights reserved.\nUse is subject to license terms.\n"); #ifdef DEBUG printf("DEBUG enabled\n"); #endif @@ -742,15 +742,6 @@ log_printq(queue_t *qfirst) } while ((qlast = q) != qfirst); } -void -log_flushall() -{ - if (log_intrq != NULL) - log_flushq(log_intrq); - if (log_consq != NULL && log_consq != log_backlogq) - log_printq(log_consq); -} - /* ARGSUSED */ static int log_cons_constructor(void *buf, void *cdrarg, int kmflags) -- cgit v1.2.3