[Pkg-wmaker-commits] [wmbubble] 04/207: Fix build w/ gcc3 (debian)
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Mon Aug 24 04:17:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmbubble.
commit 80fd7b2b10bf5e8dea32d1c502ae5520eb2e6fc8
Author: Robert Jacobs <rnjacobs at mit.edu>
Date: Mon Aug 29 19:11:25 2011 -0700
Fix build w/ gcc3 (debian)
---
bubblemon.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/bubblemon.c b/bubblemon.c
index 1ffec13..ed48e86 100644
--- a/bubblemon.c
+++ b/bubblemon.c
@@ -247,7 +247,8 @@ static void bubblemon_session_defaults(void)
/* *INDENT-OFF* */
static void print_usage(void)
{
- printf( "BubbleMon version "VERSION", features: %s\n"
+ char *usage;
+ usage = "BubbleMon version "VERSION", features: %s\n"
"Usage: bubblemon [switches] [program_1] [program_2]\n\n"
"Disable compiled-in features\n"
#ifdef ENABLE_DUCK
@@ -267,7 +268,8 @@ static void print_usage(void)
" -p\tuse alternative color scheme in memory info screen\n"
" -k\tdisplay memory and swap statistics in megabytes\n"
#endif
- " -h\tdisplay this help\n",
+ " -h\tdisplay this help\n";
+ printf(usage,
options /* this is the global static string with compiled features */
);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbubble.git
More information about the Pkg-wmaker-commits
mailing list