diff mbox series

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

Message ID 20250109-lockd-nl-v1-2-108548ab0b6b@kernel.org (mailing list archive)
State New
Headers show
Series nfsdctl: add support for new lockd configuration interface | expand

Commit Message

Jeff Layton Jan. 9, 2025, 7:40 p.m. UTC
Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
 utils/nfsdctl/nfsdctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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