On Thu, 2008-07-31 at 14:15 +0100, Andy Whitcroft wrote:
> We are emitting the usage header on stdout but all of the options on
> stderr.  Move the headers to match.
> 
> Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]>
Acked-by: Adam Litke <[EMAIL PROTECTED]>

> ---
> 
>       NOTE: This is probabally worth fixing before 2.0 is cut from
>       the tree.
> 
> ---
>  hugeedit.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/hugeedit.c b/hugeedit.c
> index e0ea923..2785200 100644
> --- a/hugeedit.c
> +++ b/hugeedit.c
> @@ -61,8 +61,8 @@ extern char *optarg;
> 
>  void print_usage()
>  {
> -     printf("hugeedit [options] target\n");
> -     printf("options:\n");
> +     fprintf(stderr, "hugeedit [options] target\n");
> +     fprintf(stderr, "options:\n");
>       OPTION("--text", "Remap program text into huge pages by default");
>       OPTION("--data", "Remap program data into huge pages by default");
>       OPTION("--disable", "Remap no segments into huge pages by default");
-- 
Adam Litke - (agl at us.ibm.com)
IBM Linux Technology Center


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to