From 340af0aaf7a9d2d8838c7f1d917a1cbec2b6bcfa Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 19 Sep 2017 14:36:41 -0700 Subject: lib,ratp: avoid too verbose info messages When using a cli-based RATP that opens and closes the RATP channel for each command sent/received, it gets annoying to get the "Closed" message printed all the time in console after each RATP channel close operation. Just demote it to debug level. E.g.: barebox@barebox sandbox:/ ratp: Closed ratp: Closed ratp: Closed ratp: Closed ... Signed-off-by: Aleksander Morgado Signed-off-by: Sascha Hauer --- lib/ratp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ratp.c b/lib/ratp.c index e7fbf640a7..4c5c748b48 100644 --- a/lib/ratp.c +++ b/lib/ratp.c @@ -1717,7 +1717,7 @@ void ratp_close(struct ratp *ratp) free(ri); ratp->internal = NULL; - pr_info("Closed\n"); + pr_debug("Closed\n"); } /** -- cgit v1.2.3