summaryrefslogtreecommitdiff
path: root/nfs/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'nfs/main.c')
-rw-r--r--nfs/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nfs/main.c b/nfs/main.c
index c5a53cdb..48852062 100644
--- a/nfs/main.c
+++ b/nfs/main.c
@@ -30,6 +30,10 @@
#include <argp.h>
#include <argz.h>
#include <error.h>
+#include <version.h>
+
+char *netfs_server_name = "nfs";
+char *netfs_server_version = HURD_VERSION;
extern char *localhost ();
@@ -109,6 +113,8 @@ int write_size = DEFAULT_WRITE_SIZE;
#define __D(what) ___D(what)
#define _D(what) __D(DEFAULT_ ## what)
+const char *argp_program_version = STANDARD_HURD_VERSION (nfs);
+
/* Options usable both at startup and at runtime. */
static const struct argp_option common_options[] =
{