subr_log.c (32726) | subr_log.c (33679) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)subr_log.c 8.1 (Berkeley) 6/10/93 | 1/* 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)subr_log.c 8.1 (Berkeley) 6/10/93 |
34 * $Id: subr_log.c,v 1.25 1997/10/28 15:58:21 bde Exp $ | 34 * $Id: subr_log.c,v 1.26 1998/01/24 02:54:34 eivind Exp $ |
35 */ 36 37/* 38 * Error log buffer for kernel printf's. 39 */ 40 41#include "opt_devfs.h" 42 --- 195 unchanged lines hidden (view full) --- 238 break; 239 240 default: 241 return (ENOTTY); 242 } 243 return (0); 244} 245 | 35 */ 36 37/* 38 * Error log buffer for kernel printf's. 39 */ 40 41#include "opt_devfs.h" 42 --- 195 unchanged lines hidden (view full) --- 238 break; 239 240 default: 241 return (ENOTTY); 242 } 243 return (0); 244} 245 |
246static log_devsw_installed = 0; | 246static int log_devsw_installed; |
247#ifdef DEVFS 248static void *log_devfs_token; 249#endif 250 251static void log_drvinit __P((void *unused)); 252static void 253log_drvinit(unused) 254 void *unused; --- 18 unchanged lines hidden --- | 247#ifdef DEVFS 248static void *log_devfs_token; 249#endif 250 251static void log_drvinit __P((void *unused)); 252static void 253log_drvinit(unused) 254 void *unused; --- 18 unchanged lines hidden --- |