Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-01-01 19:17:55 +0300
committerCorinna Vinschen <corinna@vinschen.de>2006-01-01 19:17:55 +0300
commita89b700926b5b75d62048f1a02b040d4d6f057cf (patch)
tree3f5492cafb07606232a319841cdf1c9f01227f6c /winsup/cygwin/syslog.cc
parentcceba5593d7a02ad4564f86154dd62f9ac05b08b (diff)
* syslog.cc (vklog): Never log kernel messages using the vsyslog
interface.
Diffstat (limited to 'winsup/cygwin/syslog.cc')
-rw-r--r--winsup/cygwin/syslog.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/cygwin/syslog.cc b/winsup/cygwin/syslog.cc
index b8bd669e2..ea59ba812 100644
--- a/winsup/cygwin/syslog.cc
+++ b/winsup/cygwin/syslog.cc
@@ -1,6 +1,7 @@
/* syslog.cc
- Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Red Hat, Inc.
+ Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
+ 2006 Red Hat, Inc.
This file is part of Cygwin.
@@ -498,8 +499,6 @@ vklog (int priority, const char *message, va_list ap)
dev_kmsg->open (O_WRONLY, 0);
if (dev_kmsg && dev_kmsg->get_handle ())
dev_kmsg->write (buf, strlen (buf) + 1);
- else
- vsyslog (priority, message, ap);
klog_guard.release ();
}