summaryrefslogtreecommitdiff
path: root/src/output
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-09 07:41:44 -0400
committermidipix <writeonce@midipix.org>2018-08-09 07:41:44 -0400
commit113eb197da721038c8994cd6e976ec060363cc6a (patch)
tree2f9ac5cb8c0d2ccbffdc2cd24adc5d749cd09b96 /src/output
parent65a0ef6a1e1c2424a4560e9c531e429bbfaaf762 (diff)
downloadsofort-113eb197da721038c8994cd6e976ec060363cc6a.tar.bz2
sofort-113eb197da721038c8994cd6e976ec060363cc6a.tar.xz
coding-style meditation.
Diffstat (limited to 'src/output')
-rw-r--r--src/output/sfrt_output_error.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/output/sfrt_output_error.c b/src/output/sfrt_output_error.c
index 155e009..24cb21a 100644
--- a/src/output/sfrt_output_error.c
+++ b/src/output/sfrt_output_error.c
@@ -82,8 +82,9 @@ static int sfrt_output_error_record_plain(
{
const char * epath;
char errbuf[256];
- const char * errdesc = sfrt_output_strerror(erri,&errbuf);
+
int fderr = sfrt_driver_fderr(dctx);
+ const char * errdesc = sfrt_output_strerror(erri,&errbuf);
epath = erri->euctx
? *erri->euctx->path
@@ -118,8 +119,9 @@ static int sfrt_output_error_record_annotated(
{
const char * epath;
char errbuf[256];
- const char * errdesc = sfrt_output_strerror(erri,&errbuf);
+
int fderr = sfrt_driver_fderr(dctx);
+ const char * errdesc = sfrt_output_strerror(erri,&errbuf);
epath = erri->euctx
? *erri->euctx->path