From ca5d010292c57383da523797a095ac847e1fe103 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 9 Mar 2011 12:47:28 +0000 Subject: Enable only functions defined in windows XP Enabled IPV6 compilation --- xorg-server/os/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xorg-server/os/log.c') diff --git a/xorg-server/os/log.c b/xorg-server/os/log.c index 8d4dfc4ec..8b5d24b94 100644 --- a/xorg-server/os/log.c +++ b/xorg-server/os/log.c @@ -510,7 +510,7 @@ VAuditF(const char *f, va_list args) if (auditTimer != NULL) TimerForce(auditTimer); ErrorF("%s%s", prefix != NULL ? prefix : "", buf); - strlcpy(oldbuf, buf, sizeof(oldbuf)); + strncpy(oldbuf, buf, sizeof(oldbuf)); oldlen = len; nrepeat = 0; auditTimer = TimerSet(auditTimer, 0, AUDIT_TIMEOUT, AuditFlush, NULL); -- cgit v1.2.3