mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2001-08-30 Ulrich Drepper <drepper@redhat.com> * string/argz-stringify.c (__argz_stringify): Use __strnlen instead of strnlen. * include/string.h (strndupa): Redefine here to use __strnlen instead of strnlen. * string/strndup.c (__strndup): Use __strnlen not strnlen. * misc/syslog.c (vsyslog): Fix typo in last change (connect -> connected).
This commit is contained in:
@ -247,7 +247,7 @@ vsyslog(pri, fmt, ap)
|
||||
openlog_internal(LogTag, LogStat | LOG_NDELAY, 0);
|
||||
}
|
||||
|
||||
if (!connect || __send(LogFile, buf, bufsize, 0) < 0)
|
||||
if (!connected || __send(LogFile, buf, bufsize, 0) < 0)
|
||||
{
|
||||
closelog_internal (); /* attempt re-open next time */
|
||||
/*
|
||||
|
Reference in New Issue
Block a user