syslog.h -> changed /dev/log to be /var/run/log (its a socket, not a device)
devfsext.h -> added prototype for dev_linkf(); Reviewed by: julian@freebsd.org
This commit is contained in:
parent
0567ca9a10
commit
49f25e73b0
@ -1,7 +1,7 @@
|
||||
/* usual BSD style copyright here */
|
||||
/* Written by Julian Elischer (julian@dialix.oz.au)*/
|
||||
/*
|
||||
* $Id: devfsext.h,v 1.7 1996/01/25 07:17:05 phk Exp $
|
||||
* $Id: devfsext.h,v 1.8 1996/03/27 18:29:29 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_DEVFSECT_H_
|
||||
@ -29,6 +29,11 @@ void *dev_link(char *path,
|
||||
void *original); /* the result of a previous dev_link
|
||||
or dev_add operation */
|
||||
|
||||
void *dev_linkf(void *original, /* the result of a previous dev_link */
|
||||
char *fmt, /* or dev_add operation */
|
||||
...);
|
||||
|
||||
|
||||
/* remove the device the cookie represents */
|
||||
void devfs_remove_dev(void *devnmp);
|
||||
|
||||
|
@ -31,13 +31,13 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)syslog.h 8.1 (Berkeley) 6/2/93
|
||||
* $Id: syslog.h,v 1.3 1994/08/18 22:35:46 wollman Exp $
|
||||
* $Id: syslog.h,v 1.4 1994/08/21 04:42:00 paul Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SYSLOG_H_
|
||||
#define _SYS_SYSLOG_H_
|
||||
|
||||
#define _PATH_LOG "/dev/log"
|
||||
#define _PATH_LOG "/var/run/log"
|
||||
|
||||
/*
|
||||
* priorities/facilities are encoded into a single 32-bit quantity, where the
|
||||
|
Loading…
Reference in New Issue
Block a user