From 2b94b4e10ae9d7498e7bdb486a2d6d22bccf81c1 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 5 Aug 2018 05:24:57 -0400 Subject: coding-style meditation. --- src/driver/pe_amain.c | 4 ++-- 1 file 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++) { -- cgit v1.2.3