aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2022-06-24 09:09:11 -0700
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-07-11 13:19:29 +0200
commitc1abc93988a0b405d3d24eb34985f005d7efbb64 (patch)
treebaeaaab98bc2335940b484e2e6ddb03e4b5954e9
parentcf2ba7d7f8044b6fa449b769a68d1b05390b589d (diff)
downloadnewlib-c1abc93988a0b405d3d24eb34985f005d7efbb64.zip
newlib-c1abc93988a0b405d3d24eb34985f005d7efbb64.tar.gz
newlib-c1abc93988a0b405d3d24eb34985f005d7efbb64.tar.bz2
libc/syslog: fully deprecate and don't try to open "/dev/log"
The "/dev/log" socket existed in pre-FreeBSD times. Later it was substituted to a compatibility symlink. The symlink creation was deprecated in FreeBSD 10.2 and 9-STABLE. Reviewed by: markj Differential revision: https://reviews.freebsd.org/D35304
-rw-r--r--newlib/libc/sys/rtems/include/sys/syslog.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/newlib/libc/sys/rtems/include/sys/syslog.h b/newlib/libc/sys/rtems/include/sys/syslog.h
index 071b684..ff2bd14 100644
--- a/newlib/libc/sys/rtems/include/sys/syslog.h
+++ b/newlib/libc/sys/rtems/include/sys/syslog.h
@@ -37,7 +37,6 @@
#define _PATH_LOG "/var/run/log"
#define _PATH_LOG_PRIV "/var/run/logpriv"
-#define _PATH_OLDLOG "/dev/log" /* backward compatibility */
/*
* priorities/facilities are encoded into a single 32-bit quantity, where the