aboutsummaryrefslogtreecommitdiffstats
path: root/envputenvf.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--envputenvf.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/envputenvf.c b/envputenvf.c
index cf30208..cdcf4f5 100644
--- a/envputenvf.c
+++ b/envputenvf.c
@@ -3,16 +3,11 @@
#ifndef TEST
-extern char *argv0;
-
-
void
libsimple_envputenvf(int status, const char *fmt, va_list ap) /* TODO test */
{
- if (vputenvf(fmt, ap)) {
- fprintf(stderr, "%s: putenvf: %s\n", argv0, strerror(errno));
- exit(status);
- }
+ if (vputenvf(fmt, ap))
+ enprintf(status, "putenvf:");
}