diff options
author | midipix <writeonce@midipix.org> | 2018-05-20 23:57:55 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-05-21 02:23:31 -0400 |
commit | f3d5e0453751c9d4bcaa62259637901d8b59285a (patch) | |
tree | 660adc772240d1832efd2de27c3a13b3cc6d2a34 /src/driver | |
parent | da20d860b28d7b3c1085964b784f58772c7ba263 (diff) | |
download | ntux-f3d5e0453751c9d4bcaa62259637901d8b59285a.tar.bz2 ntux-f3d5e0453751c9d4bcaa62259637901d8b59285a.tar.xz |
ntux_cmd_stat(): initial implementation and integration.
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/ntux_amain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/ntux_amain.c b/src/driver/ntux_amain.c index 11741c9..7749f63 100644 --- a/src/driver/ntux_amain.c +++ b/src/driver/ntux_amain.c @@ -51,8 +51,8 @@ static void ntux_perform_unit_actions( const struct ntux_driver_ctx * dctx, const char * unit) { - (void)dctx; - (void)unit; + if (dctx->cctx->cmd == NTUX_CMD_STAT) + ntux_cmd_stat(dctx,unit); } static int ntux_exit(struct ntux_driver_ctx * dctx, int ret) |