From f8c7ed390672d0749aaf0bbbad2c2af7145ebc01 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 8 Aug 2014 17:18:56 +0200 Subject: p11-kit: Fix bad check of asprintf() return value --- p11-kit/p11-kit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p11-kit/p11-kit.c b/p11-kit/p11-kit.c index e115c42..f447b4c 100644 --- a/p11-kit/p11-kit.c +++ b/p11-kit/p11-kit.c @@ -108,7 +108,7 @@ p11_kit_external (int argc, return p11_kit_trust (argc, argv); } - if (!asprintf (&filename, "p11-kit-%s", argv[0]) < 0) + if (asprintf (&filename, "p11-kit-%s", argv[0]) < 0) return_val_if_reached (1); /* Add our libexec directory to the path */ -- cgit v1.1