diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2011-06-21 15:37:38 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2011-06-21 15:37:38 +0000 |
commit | b1115227b87a24137310c566f5f8a53cf182796e (patch) | |
tree | 820fae46cf56ad6bb657e43fb93a7a078a42dd7c /libc/misc | |
parent | 2f4cad8d89b656684e8829b2e164070515d4d34b (diff) |
Merge changes between r14127 and r14282 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@14283 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/syslog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/syslog.c b/libc/misc/syslog.c index 90cd3bfa1..7156b4f95 100644 --- a/libc/misc/syslog.c +++ b/libc/misc/syslog.c @@ -141,7 +141,7 @@ __vsyslog_chk(int pri, int flag, const char *fmt, va_list ap) FILE *f; char *buf = 0; size_t bufsize = 0; - size_t prioff, msgoff; + size_t msgoff; #ifndef NO_SIGPIPE struct sigaction action, oldaction; int sigpipe; @@ -192,7 +192,7 @@ __vsyslog_chk(int pri, int flag, const char *fmt, va_list ap) else { __fsetlocking (f, FSETLOCKING_BYCALLER); - prioff = fprintf (f, "<%d>", pri); + fprintf (f, "<%d>", pri); (void) time (&now); f->_IO_write_ptr += __strftime_l (f->_IO_write_ptr, f->_IO_write_end |