Commit e04b23bb authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent fde2b400
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
// See COPYING file for full licensing terms. // See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options. // See https://www.nexedi.com/licensing for rationale and options.
// XXX #define _GNU_SOURCE ?
#include "wcfs_misc.h" #include "wcfs_misc.h"
#include <golang/libgolang.h> #include <golang/libgolang.h>
...@@ -224,7 +222,7 @@ Contextf::Contextf(const char *format, ...) { ...@@ -224,7 +222,7 @@ Contextf::Contextf(const char *format, ...) {
va_list argp; va_list argp;
va_start(argp, format); va_start(argp, format);
c.errctx = fmt::vsprintf(format, argp); c.errctx = fmt::sprintfv(format, argp);
va_end(argp); va_end(argp);
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment