From 3eae145226ee3d60a7fa3b03dba1f98880747da8 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Sun, 22 Jan 2006 19:31:53 +0000 Subject: [PATCH] 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 --- util-vserver/src/capchroot.c | 2 +- util-vserver/src/chcontext.c | 2 +- util-vserver/src/reducecap.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 "); -- 1.8.1.5