[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] acpid: only display -p if supported in usage
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2020-06-29 12:11:29
Message-ID: CAK1hOcPFC5dw05VSDZpgdewP1=Ja8GX8Xp4+6L6jCJ+oqz853A () mail ! gmail ! com
[Download RAW message or body]

Applied, thanks!

On Fri, Feb 14, 2020 at 10:17 PM Norbert Lange <nolange79@gmail.com> wrote:
>
> Signed-off-by: Norbert Lange <nolange79@gmail.com>
> ---
>  util-linux/acpid.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/util-linux/acpid.c b/util-linux/acpid.c
> index 95f8150e2..fc8215cce 100644
> --- a/util-linux/acpid.c
> +++ b/util-linux/acpid.c
> @@ -42,7 +42,9 @@
>  //usage:     "\n       -c DIR  Config directory [/etc/acpi]"
>  //usage:     "\n       -e FILE /proc event file [/proc/acpi/event]"
>  //usage:     "\n       -l FILE Log file [/var/log/acpid.log]"
> -//usage:     "\n       -p FILE Pid file [/var/run/acpid.pid]"
> +//usage:       IF_FEATURE_PIDFILE(
> +//usage:     "\n       -p FILE Pid file [" CONFIG_PID_FILE_PATH "/acpid.pid]"
> +//usage:       )
>  //usage:     "\n       -a FILE Action file [/etc/acpid.conf]"
>  //usage:     "\n       -M FILE Map file [/etc/acpi.map]"
>  //usage:       IF_FEATURE_ACPID_COMPAT(
> --
> 2.25.0
>
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic