aboutsummaryrefslogtreecommitdiffstats
path: root/envputenvf.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-08-28 13:45:34 +0200
committerMattias Andrée <maandree@kth.se>2018-08-28 13:45:34 +0200
commitf27708ce206f97896bcf001d00d126f91ff7a5c8 (patch)
tree622f2abc1f2d8535474c4f36709bb6dd40be39c1 /envputenvf.c
parentSimplify en* functions, and handle argv0 == NULL correct (diff)
downloadlibsimple-f27708ce206f97896bcf001d00d126f91ff7a5c8.tar.gz
libsimple-f27708ce206f97896bcf001d00d126f91ff7a5c8.tar.bz2
libsimple-f27708ce206f97896bcf001d00d126f91ff7a5c8.tar.xz
Make it possible to force all memory allocation functions to fail in tests
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'envputenvf.c')
-rw-r--r--envputenvf.c2
1 files changed, 1 insertions, 1 deletions
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:");
}