commit '*: remove "Options:" string from help texts' broke build
Denys Vlasenko
vda.linux at googlemail.com
Sun Jun 5 13:08:22 UTC 2011
On Sunday 05 June 2011 12:18, Cristian Ionescu-Idbohrn wrote:
> Left macro USAGE_PS undefined.
>
> Error message:
>
> In file included from applets/usage.c:30:0:
> include/applets.h:351:1: error: expected '}' before 'USAGE_PS'
>
> This (possibly not most optimal) patch:
>
> diff --git a/procps/ps.c b/procps/ps.c
> index 213695f..279f25e 100644
> --- a/procps/ps.c
> +++ b/procps/ps.c
> @@ -25,6 +25,7 @@
> //usage:#if !ENABLE_SELINUX && !ENABLE_FEATURE_PS_WIDE
> //usage:#define USAGE_PS "\nThis version of ps accepts no options"
> //usage:#else
> +//usage:#define USAGE_PS ""
> //usage:#endif
> //usage:
> //usage:#define ps_trivial_usage
>
> makes it build again.
Applied, thanks!
More information about the busybox
mailing list