summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/auditor/taler-auditor-sign.c8
-rw-r--r--src/exchange-tools/taler-exchange-keyup.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/auditor/taler-auditor-sign.c b/src/auditor/taler-auditor-sign.c
index 1bd7e908e..2c7fe8293 100644
--- a/src/auditor/taler-auditor-sign.c
+++ b/src/auditor/taler-auditor-sign.c
@@ -258,7 +258,7 @@ main (int argc,
fprintf (stderr,
"Failed to open file `%s': %s\n",
exchange_request_file,
- STRERROR (errno));
+ strerror (errno));
GNUNET_free (eddsa_priv);
return 1;
}
@@ -269,7 +269,7 @@ main (int argc,
fprintf (stderr,
"Failed to obtain input file size `%s': %s\n",
exchange_request_file,
- STRERROR (errno));
+ strerror (errno));
GNUNET_DISK_file_close (fh);
GNUNET_free (eddsa_priv);
return 1;
@@ -320,7 +320,7 @@ main (int argc,
fprintf (stderr,
"Failed to read input file `%s': %s\n",
exchange_request_file,
- STRERROR (errno));
+ strerror (errno));
TALER_AUDITORDB_plugin_unload (adb);
GNUNET_DISK_file_close (fh);
GNUNET_free (sigs);
@@ -428,7 +428,7 @@ main (int argc,
fprintf (stderr,
"Failed to write to file `%s': %s\n",
output_file,
- STRERROR (errno));
+ strerror (errno));
GNUNET_free (sigs);
GNUNET_free (dks);
return 1;
diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c
index 8486f02cf..40dabf14b 100644
--- a/src/exchange-tools/taler-exchange-keyup.c
+++ b/src/exchange-tools/taler-exchange-keyup.c
@@ -882,7 +882,7 @@ exchange_keys_update_cointype (void *cls,
fprintf (stderr,
"Failed to write denomination key information to %s: %s\n",
auditorrequestfile,
- STRERROR (errno));
+ strerror (errno));
*ret = GNUNET_SYSERR;
GNUNET_CRYPTO_rsa_private_key_free (
denomkey_issue.denom_priv.rsa_private_key);
@@ -1321,14 +1321,14 @@ run (void *cls,
}
if (NULL != auditorrequestfile)
{
- auditor_output_file = FOPEN (auditorrequestfile,
+ auditor_output_file = fopen (auditorrequestfile,
"w");
if (NULL == auditor_output_file)
{
fprintf (stderr,
"Failed to open `%s' for writing: %s\n",
auditorrequestfile,
- STRERROR (errno));
+ strerror (errno));
global_ret = 1;
return;
}
@@ -1477,7 +1477,7 @@ main (int argc,
return 1;
if (NULL != auditor_output_file)
{
- FCLOSE (auditor_output_file);
+ fclose (auditor_output_file);
auditor_output_file = NULL;
}
return global_ret;