From 701956e2310268da99216188c7d33a8d25d94322 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Fri, 27 Feb 2004 18:02:24 +0000 Subject: [PATCH] cleanups; applied name-change from 'chcontext' to 'chcontext-compat' git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1036 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/src/chcontext.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/util-vserver/src/chcontext.c b/util-vserver/src/chcontext.c index 1b59a6d..62a2d7f 100644 --- a/util-vserver/src/chcontext.c +++ b/util-vserver/src/chcontext.c @@ -38,6 +38,7 @@ #include #include #include +#include #define ENSC_WRAPPERS_PREFIX "chcontext: " #define ENSC_WRAPPERS_VSERVER 1 @@ -90,6 +91,8 @@ static struct Arguments const * global_args = 0; static void showHelp(int fd, char const *cmd, int res) { + VSERVER_DECLARE_CMD(cmd); + WRITE_MSG(fd, "Usage: "); WRITE_STR(fd, cmd); WRITE_MSG(fd, @@ -165,7 +168,7 @@ static void showVersion() { WRITE_MSG(1, - "chcontext " VERSION " -- allocates/enters a security context\n" + "chcontext-compat " VERSION " -- allocates/enters a security context\n" "This program is part of " PACKAGE_STRING "\n\n" "Copyright (C) 2003,2004 Enrico Scholz\n" VERSION_COPYRIGHT_DISCLAIMER); -- 1.8.1.5