From 57cf2138522f3dacf26ea30c6f32a800def70209 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 30 Jan 2008 13:33:17 +0000 Subject: fixed a bug that could cause invalid string handling via strerror_r varmojfekoj provided the patch - many thanks! --- net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net.c') diff --git a/net.c b/net.c index e5807ec3..4654282f 100644 --- a/net.c +++ b/net.c @@ -578,7 +578,7 @@ int should_use_so_bsdcompat(void) init_done = 1; if (uname(&utsname) < 0) { char errStr[1024]; - dbgprintf("uname: %s\r\n", strerror_r(errno, errStr, sizeof(errStr))); + dbgprintf("uname: %s\r\n", rs_strerror_r(errno, errStr, sizeof(errStr))); return 1; } /* Format is .. -- cgit