Documentation/watchdog: use stdout instead of stderr in watchdog-test
authorTimur Tabi <timur@codeaurora.org>
Tue, 21 Jun 2016 23:00:14 +0000 (18:00 -0500)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 17 Jul 2016 19:02:29 +0000 (21:02 +0200)
commitee279c2734b07fb74031b1626b0f097cee9de5c8
tree346ff165845200e1db5ccd6d97c479f6a8e1d8a5
parent334da2d6753ba548851c6329c4b6e74eb731368a
Documentation/watchdog: use stdout instead of stderr in watchdog-test

The watchdog-test utility outputs all messages to stderr, even those
that are not error messages.  Output to stdout instead.

Instead of flushing the output after every write, just disabled
the output buffer.

Also display a dot for every ping of the watchdog, so that the user
knows that it's working.

Signed-off-by: Timur Tabi <timur@codeaurora.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Documentation/watchdog/src/watchdog-test.c