about summary refs log tree commit diff
path: root/manual/syslog.texi
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-02-11 14:12:47 -0800
committerRoland McGrath <roland@hack.frob.com>2013-02-11 14:16:43 -0800
commit8ded91fb377ad48c66e8b44929af7214f40f3557 (patch)
tree1500db52510dba70137440de0b3635d75a8e91fa /manual/syslog.texi
parentfe77fe6d5155d224edfebbccdbfbc68f62e750dc (diff)
downloadglibc-8ded91fb377ad48c66e8b44929af7214f40f3557.tar.gz
glibc-8ded91fb377ad48c66e8b44929af7214f40f3557.tar.xz
glibc-8ded91fb377ad48c66e8b44929af7214f40f3557.zip
Fix some errors in declarations in the manual.
Diffstat (limited to 'manual/syslog.texi')
-rw-r--r--manual/syslog.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/syslog.texi b/manual/syslog.texi
index 15f5e42bdc..4e64d2a5e6 100644
--- a/manual/syslog.texi
+++ b/manual/syslog.texi
@@ -275,7 +275,7 @@ The symbols referred to in this section are declared in the file
 @c syslog() is implemented as a call to vsyslog().
 @comment syslog.h
 @comment BSD
-@deftypefun void syslog (int @var{facility_priority}, char *@var{format}, @dots{})
+@deftypefun void syslog (int @var{facility_priority}, const char *@var{format}, @dots{})
 
 @code{syslog} submits a message to the Syslog facility.  It does this by
 writing to the Unix domain socket @code{/dev/log}.
@@ -403,7 +403,7 @@ syslog (LOG_MAKEPRI(LOG_LOCAL1, LOG_ERROR),
 
 @comment syslog.h
 @comment BSD
-@deftypefun void vsyslog (int @var{facility_priority}, char *@var{format}, va_list @var{arglist})
+@deftypefun void vsyslog (int @var{facility_priority}, const char *@var{format}, va_list @var{arglist})
 
 This is functionally identical to @code{syslog}, with the BSD style variable
 length argument.