diff options
author | midipix <writeonce@midipix.org> | 2018-08-05 05:29:12 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-08-05 05:29:12 -0400 |
commit | 985580a625a0aafaf37f0b4147e98886155cc351 (patch) | |
tree | efd388ae066b8ec2609f1706ac1444498391939d /src | |
parent | e8da73cbb3075eefffb99d2e10002fd1931e8ebd (diff) | |
download | sofort-985580a625a0aafaf37f0b4147e98886155cc351.tar.bz2 sofort-985580a625a0aafaf37f0b4147e98886155cc351.tar.xz |
coding-style meditation.
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/sfrt_amain.c | 4 |
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 */ |