diff options
author | Stef Walter <stef@thewalter.net> | 2014-08-08 17:18:56 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2014-08-08 18:44:20 +0200 |
commit | f8c7ed390672d0749aaf0bbbad2c2af7145ebc01 (patch) | |
tree | 6dd57e8844ae9eedcf4bd46a778a284c8c28e13b | |
parent | 3a21a0bc541348803f7da01ef6c5b4baf6bc221a (diff) |
p11-kit: Fix bad check of asprintf() return value
-rw-r--r-- | p11-kit/p11-kit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |