summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-05 05:24:57 -0400
committermidipix <writeonce@midipix.org>2018-08-05 05:24:57 -0400
commit2b94b4e10ae9d7498e7bdb486a2d6d22bccf81c1 (patch)
treec67801a406733dfff5e2bb785cd755f0f086f9f4
parentc7824a0a2453f7898edf118b939d896f57657421 (diff)
downloadperk-2b94b4e10ae9d7498e7bdb486a2d6d22bccf81c1.tar.bz2
perk-2b94b4e10ae9d7498e7bdb486a2d6d22bccf81c1.tar.xz
coding-style meditation.
-rw-r--r--src/driver/pe_amain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/pe_amain.c b/src/driver/pe_amain.c
index bc8afce..585d50a 100644
--- a/src/driver/pe_amain.c
+++ b/src/driver/pe_amain.c
@@ -32,7 +32,7 @@ static const char * const pe_ver_plain[6] = {
"",""
};
-static ssize_t pe_version(int fdout, struct pe_driver_ctx * dctx)
+static ssize_t pe_version(struct pe_driver_ctx * dctx, int fdout)
{
const struct pe_source_version * verinfo;
const char * const * verclr;
@@ -101,7 +101,7 @@ int pe_main(int argc, char ** argv, char ** envp, const struct pe_fd_ctx * fdctx
: PERK_ERROR;
if (dctx->cctx->drvflags & PERK_DRIVER_VERSION)
- if ((pe_version(fdout,dctx)) < 0)
+ if ((pe_version(dctx,fdout)) < 0)
return pe_exit(dctx,PERK_ERROR);
for (unit=dctx->units; *unit; unit++) {