summaryrefslogtreecommitdiff
path: root/tools/p11-kit.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/p11-kit.c')
-rw-r--r--tools/p11-kit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/p11-kit.c b/tools/p11-kit.c
index 44062d0..f63779e 100644
--- a/tools/p11-kit.c
+++ b/tools/p11-kit.c
@@ -34,9 +34,10 @@
#include "config.h"
+#include "compat.h"
+
#include <assert.h>
#include <ctype.h>
-#include <err.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
@@ -253,7 +254,7 @@ main (int argc, char *argv[])
break;
case 'v':
verbose = 1;
- setenv ("P11_KIT_DEBUG", "all", 1);
+ putenv ("P11_KIT_DEBUG=all");
break;
case 'h':
case '?':