From 113eb197da721038c8994cd6e976ec060363cc6a Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 9 Aug 2018 07:41:44 -0400 Subject: coding-style meditation. --- src/output/sfrt_output_error.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/output') 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 -- cgit v1.2.3