From: Enrico Scholz Date: Sun, 22 Jan 2006 19:31:53 +0000 (+0000) Subject: use stdout instead of stderr for the no-compat API warnings on '--help'; X-Git-Tag: version_0_30_210~2 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3eae145226ee3d60a7fa3b03dba1f98880747da8;p=util-vserver.git use stdout instead of stderr for the no-compat API warnings on '--help'; else, 'make distcheck' will fail git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2279 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/src/capchroot.c b/util-vserver/src/capchroot.c index dd1dc74..e2feed9 100644 --- a/util-vserver/src/capchroot.c +++ b/util-vserver/src/capchroot.c @@ -68,7 +68,7 @@ showHelp(int fd, char const *cmd, int res) VSERVER_DECLARE_CMD(cmd); #if !defined(VC_ENABLE_API_COMPAT) && !defined(VC_ENABLE_API_LEGACY) - WRITE_MSG(2, "ERROR: tools were built without legacy API support; capchroot will not work!\n\n"); + WRITE_MSG(1, "ERROR: tools were built without legacy API support; capchroot will not work!\n\n"); #endif WRITE_MSG(fd, "Usage: "); diff --git a/util-vserver/src/chcontext.c b/util-vserver/src/chcontext.c index c63b1eb..1d88b0d 100644 --- a/util-vserver/src/chcontext.c +++ b/util-vserver/src/chcontext.c @@ -97,7 +97,7 @@ showHelp(int fd, char const *cmd, int res) VSERVER_DECLARE_CMD(cmd); #if !defined(VC_ENABLE_API_COMPAT) && !defined(VC_ENABLE_API_LEGACY) - WRITE_MSG(2, "ERROR: tools were built without legacy API support; chcontext will not work!\n\n"); + WRITE_MSG(1, "ERROR: tools were built without legacy API support; chcontext will not work!\n\n"); #endif WRITE_MSG(fd, "Usage: "); diff --git a/util-vserver/src/reducecap.c b/util-vserver/src/reducecap.c index fb936dd..49eda3d 100644 --- a/util-vserver/src/reducecap.c +++ b/util-vserver/src/reducecap.c @@ -144,7 +144,7 @@ static void showHelp(int fd, char const *cmd, int res) { #if !defined(VC_ENABLE_API_COMPAT) && !defined(VC_ENABLE_API_LEGACY) - WRITE_MSG(2, "ERROR: tools were built without legacy API support; reducecap will not work!\n\n"); + WRITE_MSG(1, "ERROR: tools were built without legacy API support; reducecap will not work!\n\n"); #endif WRITE_MSG(fd, "Usage:\n ");