From f27708ce206f97896bcf001d00d126f91ff7a5c8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 28 Aug 2018 13:45:34 +0200 Subject: Make it possible to force all memory allocation functions to fail in tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- envputenvf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'envputenvf.c') diff --git a/envputenvf.c b/envputenvf.c index cdcf4f5..7bc1f0a 100644 --- a/envputenvf.c +++ b/envputenvf.c @@ -6,7 +6,7 @@ void libsimple_envputenvf(int status, const char *fmt, va_list ap) /* TODO test */ { - if (vputenvf(fmt, ap)) + if (libsimple_vputenvf(fmt, ap)) enprintf(status, "putenvf:"); } -- cgit v1.2.3-70-g09d2