[PATCH] keytable: fix stdout/stderr inconsistency

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

 



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);
        return 0;
 }
 
-- 
2.34.1




[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