summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-09-19 14:36:41 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2017-09-20 08:53:01 +0200
commit340af0aaf7a9d2d8838c7f1d917a1cbec2b6bcfa (patch)
treeea85283897fbb3f32bbd09ec73e7d5928e50b74b
parent15af9fc8cc9e18409893d2375271d64cac76924a (diff)
downloadbarebox-340af0aaf7a9d2d8838c7f1d917a1cbec2b6bcfa.tar.gz
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 <aleksander@aleksander.es> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--lib/ratp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ratp.c b/lib/ratp.c
index e7fbf64..4c5c748 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");
}
/**