From: Enrico Scholz Date: Tue, 30 Sep 2003 20:46:51 +0000 (+0000) Subject: modified showVersion() to show current version instead of an hardcoded X-Git-Tag: VERSION_0_10~1328 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cc21f80cc2b25c6446bfa94959a0280e4780d06;p=util-vserver.git modified showVersion() to show current version instead of an hardcoded value git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@26 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/src/new-namespace.c b/util-vserver/src/new-namespace.c index 5684f1e..6e97fe4 100644 --- a/util-vserver/src/new-namespace.c +++ b/util-vserver/src/new-namespace.c @@ -69,7 +69,8 @@ static void showVersion() { WRITE_MSG(1, - "new-namespace 0.1\n" + "new-namespace " VERSION " -- executes programs in a new namespace\n" + "This program is part of " PACKAGE_STRING "\n" "Copyright (C) 2003 Enrico Scholz\n" VERSION_COPYRIGHT_DISCLAIMER); exit(0); diff --git a/util-vserver/src/secure-mount.c b/util-vserver/src/secure-mount.c index 194cc41..c61111e 100644 --- a/util-vserver/src/secure-mount.c +++ b/util-vserver/src/secure-mount.c @@ -66,7 +66,8 @@ static void showVersion() { WRITE_MSG(1, - "secure-mount 0.23.5\n" + "secure-mount " VERSION " -- secure mounting of directories in chroots\n" + "This program is part of " PACKAGE_STRING "\n" "Copyright (C) 2003 Enrico Scholz\n" VERSION_COPYRIGHT_DISCLAIMER); exit(0);