Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix the build.

  • Loading branch information...
commit 32fbc3ab7e3c36653c29c16f0ba08bd6682ab60b 1 parent 24f2d94
@kumpera kumpera authored
Showing with 5 additions and 6 deletions.
  1. +5 −6 support/syslog.c
View
11 support/syslog.c
@@ -31,21 +31,20 @@ Mono_Posix_Syscall_closelog (void)
return 0;
}
-int
-Mono_Posix_Syscall_syslog (int priority, const char* message)
-{
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wformat-security"
#endif
-
+int
+Mono_Posix_Syscall_syslog (int priority, const char* message)
+{
syslog (priority, message);
+ return 0;
+}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
- return 0;
-}
/* vararg version of syslog(3). */
gint32
Please sign in to comment.
Something went wrong with that request. Please try again.