diff options
author | Stef Walter <stef@thewalter.net> | 2013-07-23 23:02:52 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2013-07-23 23:06:30 +0200 |
commit | 6b457ffc260100e0e3e6b2143b00e34bb419665e (patch) | |
tree | fd822c97a135686895c9c8fee097cdabb18be497 /trust | |
parent | b14fc0351c4dd71c5ca71df77e325d2b2a4c0583 (diff) | |
download | p11-kit-6b457ffc260100e0e3e6b2143b00e34bb419665e.tar.gz |
Don't use _GNU_SOURCE and fix strerror_r usage
glibc declares strerror_r completely different if in POSIX or GNU
mode. Nastiness. Stop using _GNU_SOURCE all together.
Diffstat (limited to 'trust')
-rw-r--r-- | trust/token.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/token.c b/trust/token.c index 1336443..4e7c631 100644 --- a/trust/token.c +++ b/trust/token.c @@ -226,7 +226,7 @@ loader_load_if_file (p11_token *token, if (stat (path, &sb) < 0) { if (errno != ENOENT) - p11_message_err (errno, "couldn't stat path: %s", path); + p11_message_err (errno, "couldn't stat path: %d: %s", errno, path); } else if (!S_ISDIR (sb.st_mode)) { return loader_load_file (token, path, &sb); |