diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-06-29 15:02:31 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-06-29 15:02:31 +0200 |
commit | 24cbb7fda2486ee9d2ae8e145d6ff8fe19df92b0 (patch) | |
tree | 243f60886e42d6e0ab771aa8a08faeb508ea7489 /src/util/crypto_ecc_setup.c | |
parent | 14b6de39c4316bb488d47dc07208a77dd0a85ef2 (diff) | |
download | gnunet-24cbb7fda2486ee9d2ae8e145d6ff8fe19df92b0.tar.gz gnunet-24cbb7fda2486ee9d2ae8e145d6ff8fe19df92b0.zip |
fix FTBFS issues if --enable-logging=no is set
Diffstat (limited to 'src/util/crypto_ecc_setup.c')
-rw-r--r-- | src/util/crypto_ecc_setup.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/util/crypto_ecc_setup.c b/src/util/crypto_ecc_setup.c index 2f2e2f122..64610ddd3 100644 --- a/src/util/crypto_ecc_setup.c +++ b/src/util/crypto_ecc_setup.c | |||
@@ -119,7 +119,8 @@ GNUNET_CRYPTO_eddsa_key_create_from_file (const char *filename) | |||
119 | { | 119 | { |
120 | ec = errno; | 120 | ec = errno; |
121 | LOG (GNUNET_ERROR_TYPE_ERROR, | 121 | LOG (GNUNET_ERROR_TYPE_ERROR, |
122 | _("Could not acquire lock on file `%s': %s...\n"), filename, | 122 | _("Could not acquire lock on file `%s': %s...\n"), |
123 | filename, | ||
123 | STRERROR (ec)); | 124 | STRERROR (ec)); |
124 | } | 125 | } |
125 | } | 126 | } |
@@ -313,7 +314,8 @@ GNUNET_CRYPTO_ecdsa_key_create_from_file (const char *filename) | |||
313 | { | 314 | { |
314 | ec = errno; | 315 | ec = errno; |
315 | LOG (GNUNET_ERROR_TYPE_ERROR, | 316 | LOG (GNUNET_ERROR_TYPE_ERROR, |
316 | _("Could not acquire lock on file `%s': %s...\n"), filename, | 317 | _("Could not acquire lock on file `%s': %s...\n"), |
318 | filename, | ||
317 | STRERROR (ec)); | 319 | STRERROR (ec)); |
318 | LOG (GNUNET_ERROR_TYPE_ERROR, | 320 | LOG (GNUNET_ERROR_TYPE_ERROR, |
319 | _ | 321 | _ |