summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/driver/sfrt_amain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/sfrt_amain.c b/src/driver/sfrt_amain.c
index 9a2c1dc..60ad615 100644
--- a/src/driver/sfrt_amain.c
+++ b/src/driver/sfrt_amain.c
@@ -25,7 +25,7 @@ static const char * const sfrt_ver_plain[6] = {
"",""
};
-static ssize_t sfrt_version(int fdout, struct sfrt_driver_ctx * dctx)
+static ssize_t sfrt_version(struct sfrt_driver_ctx * dctx, int fdout)
{
const struct sfrt_source_version * verinfo;
const char * const * verclr;
@@ -79,7 +79,7 @@ int sfrt_main(int argc, char ** argv, char ** envp, const struct sfrt_fd_ctx * f
: SFRT_ERROR;
if (dctx->cctx->drvflags & SFRT_DRIVER_VERSION)
- if ((sfrt_version(fdout,dctx)) < 0)
+ if ((sfrt_version(dctx,fdout)) < 0)
return sfrt_exit(dctx,SFRT_ERROR);
if (dctx->cctx->anystring) /* dummy */