mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
Fix typos in manual wrt syslog.
This commit is contained in:
parent
c0f4faf046
commit
696da85994
@ -1,5 +1,9 @@
|
|||||||
2012-08-20 Roland McGrath <roland@hack.frob.com>
|
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
|
* elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
|
||||||
DSOCAPS to match condition on defining it.
|
DSOCAPS to match condition on defining it.
|
||||||
|
|
||||||
|
@ -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.
|
connection options in @var{options} is as if those bits were off.
|
||||||
@code{syslog} leaves the Syslog connection open.
|
@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
|
opens and connects it, the same as @code{openlog} with the
|
||||||
@code{LOG_NDELAY} option would.
|
@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)
|
@deftypefun void closelog (void)
|
||||||
|
|
||||||
@code{closelog} closes the current Syslog connection, if there is one.
|
@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
|
@code{closelog} also sets the identification string for Syslog messages
|
||||||
back to the default, if @code{openlog} was called with a non-NULL argument
|
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
|
to @var{ident}. The default identification string is the program name
|
||||||
|
Loading…
Reference in New Issue
Block a user