summaryrefslogtreecommitdiff
path: root/os/windows/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/windows/posix.c')
-rwxr-xr-xos/windows/posix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/windows/posix.c b/os/windows/posix.c
index ce41ef8e..6ad47df8 100755
--- a/os/windows/posix.c
+++ b/os/windows/posix.c
@@ -234,10 +234,10 @@ void syslog(int priority, const char *message, ... /* argument */)
va_start(v, message);
len = _vscprintf(message, v);
output = malloc(len + sizeof(char));
- vsprintf_s(output, len + sizeof(char), message, v);
+ vsprintf(output, message, v);
WriteFile(log_file, output, len, &bytes_written, NULL);
va_end(v);
- free(output);
+ free(output);
}
int kill(pid_t pid, int sig)