Re: [PATCH] keytable: fix stdout/stderr inconsistency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 20, 2024 at 05:01:14PM +0200, vricosti wrote:
> This patch fix the keytable inconsistency about stdout/stderr.  
> 
> Signed-off-by: Vince Ricosti <vricosti@xxxxxxxxxxx>
> ---
>  utils/keytable/keytable.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/utils/keytable/keytable.c b/utils/keytable/keytable.c
> index 9f7575d6..5f5b88dd 100644
> --- a/utils/keytable/keytable.c
> +++ b/utils/keytable/keytable.c
> @@ -1728,7 +1728,7 @@ static int get_rate(int fd, unsigned int *delay, unsigned int *period)
>         }
>         *delay = rep[0];
>         *period = rep[1];
> -       printf(_("Repeat delay: %d ms, repeat period: %d ms\n"), *delay, *period);
> +       fprintf(stderr,_("Repeat delay: %d ms, repeat period: %d ms\n"), *delay, *period);

You're right, there is a problem there. I've found a few more instances of
stdout being used rather than stderr, I'll post an update patch shortly.


Sean




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux