aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@FreeBSD.org>1996-03-28 14:35:37 +0000
committerMarc G. Fournier <scrappy@FreeBSD.org>1996-03-28 14:35:37 +0000
commit7e40c586edf467dfcea870487df5d490b8ce86ed (patch)
tree6d161e586cd7e5ed0cf54fc5012dac51191160f5 /sys/sys
parentccbc58d3ca3d937861c207f00b4511940d705c4c (diff)
downloadsrc-7e40c586edf467dfcea870487df5d490b8ce86ed.tar.gz
src-7e40c586edf467dfcea870487df5d490b8ce86ed.zip
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
Notes
Notes: svn path=/head/; revision=14878
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/devfsext.h7
-rw-r--r--sys/sys/syslog.h4
2 files changed, 8 insertions, 3 deletions
diff --git a/sys/sys/devfsext.h b/sys/sys/devfsext.h
index 2138335ab861..bcefb1cdd8c7 100644
--- a/sys/sys/devfsext.h
+++ b/sys/sys/devfsext.h
@@ -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);
diff --git a/sys/sys/syslog.h b/sys/sys/syslog.h
index 969717b6dd31..165533fc56d3 100644
--- a/sys/sys/syslog.h
+++ b/sys/sys/syslog.h
@@ -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