From 9c9048271f2e13c3f4b9d19220d72d421f63bf6a Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Tue, 9 Mar 2010 00:26:15 -0500 Subject: [PATCH] ustd: change benign WARN()s to DBG()s --- ustd/ustd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ustd/ustd.c b/ustd/ustd.c index 1144705f..046ac0c0 100644 --- a/ustd/ustd.c +++ b/ustd/ustd.c @@ -99,7 +99,7 @@ int get_subbuffer(struct buffer_info *buf) goto end_rep; } else if(!strcmp(received_msg, "NOTFOUND")) { - WARN("For buffer %s, the trace was not found. This likely means it was destroyed by the user.", buf->name); + DBG("For buffer %s, the trace was not found. This likely means it was destroyed by the user.", buf->name); retval = GET_SUBBUF_DONE; goto end_rep; } @@ -160,7 +160,7 @@ int put_subbuffer(struct buffer_info *buf) retval = PUT_SUBBUF_OK; } else if(!strcmp(received_msg, "NOTFOUND")) { - WARN("For buffer %s, the trace was not found. This likely means it was destroyed by the user.", buf->name); + DBG("For buffer %s, the trace was not found. This likely means it was destroyed by the user.", buf->name); /* However, maybe this was not the last subbuffer. So * we return the program died. */ @@ -509,7 +509,7 @@ int consumer_loop(struct buffer_info *buf) break; } else if(result == PUT_SUBBUF_DIED) { - WARN("application died while putting subbuffer"); + DBG("application died while putting subbuffer"); /* Skip the first subbuffer. We are not sure it is trustable * because the put_subbuffer() did not complete. */ -- 2.34.1