[PATCH v2 2/3] nfsdctl: fix the --version option

Jeff Layton
2025-01-10T13:46:44Z

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
utils/nfsdctl/nfsdctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/nfsdctl/nfsdctl.c b/utils/nfsdctl/nfsdctl.c
index e6819aec9890ae675a43b8259021ebaa909b08b9..5c319a74273fd2bbe84003c1261043c4b2f1ff29 100644
--- a/utils/nfsdctl/nfsdctl.c
+++ b/utils/nfsdctl/nfsdctl.c
@@ -1550,7 +1550,7 @@ int main(int argc, char **argv)
xlog_stderr(0);
break;
case 'V':
- // FIXME: print_version();
+ fprintf(stdout, "nfsdctl: " VERSION "\n");
return 0;
}
}

--
2.47.1