about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-20 12:44:59 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-20 12:44:59 -0700
commit696da85994af013ae1e3e8ad3bb016793f9b2c5d (patch)
tree7692e2cd4913aa65b687bb29aa77f3be3ac227cb
parentc0f4faf046c6bab77200a6e78f35980887ceb445 (diff)
downloadglibc-696da85994af013ae1e3e8ad3bb016793f9b2c5d.tar.gz
glibc-696da85994af013ae1e3e8ad3bb016793f9b2c5d.tar.xz
glibc-696da85994af013ae1e3e8ad3bb016793f9b2c5d.zip
Fix typos in manual wrt syslog.
-rw-r--r--ChangeLog4
-rw-r--r--manual/syslog.texi4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f8b7b04fe..0c34ac30cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2012-08-20  Roland McGrath  <roland@hack.frob.com>
 
+	* manual/syslog.texi (syslog; vsyslog, closelog):
+	Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
+	Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
+
 	* elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
 	DSOCAPS to match condition on defining it.
 
diff --git a/manual/syslog.texi b/manual/syslog.texi
index b978e557dd..15f5e42bdc 100644
--- a/manual/syslog.texi
+++ b/manual/syslog.texi
@@ -379,7 +379,7 @@ default default facility is @code{LOG_USER}.  The default for all the
 connection options in @var{options} is as if those bits were off.
 @code{syslog} leaves the Syslog connection open.
 
-If the @file{dev/log} socket is not open and connected, @code{syslog}
+If the @file{/dev/log} socket is not open and connected, @code{syslog}
 opens and connects it, the same as @code{openlog} with the
 @code{LOG_NDELAY} option would.
 
@@ -422,7 +422,7 @@ The symbols referred to in this section are declared in the file
 @deftypefun void closelog (void)
 
 @code{closelog} closes the current Syslog connection, if there is one.
-This includes closing the @file{dev/log} socket, if it is open.
+This includes closing the @file{/dev/log} socket, if it is open.
 @code{closelog} also sets the identification string for Syslog messages
 back to the default, if @code{openlog} was called with a non-NULL argument
 to @var{ident}.  The default identification string is the program name