diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-01-26 01:15:10 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-01-26 01:15:10 +0100 |
commit | 7a1712c4fd07f64222079acd5ec3fa3348a5cb15 (patch) | |
tree | 18c1c2c83dfcf65947ce91c663c74329c5163533 /exception.c | |
parent | 3a8b2e789262545fe409f95f69319b80e66aac13 (diff) | |
download | libsigrokdecode-7a1712c4fd07f64222079acd5ec3fa3348a5cb15.tar.gz libsigrokdecode-7a1712c4fd07f64222079acd5ec3fa3348a5cb15.zip |
srd: Remove manual log domain ("srd: ") prefixes.
Diffstat (limited to 'exception.c')
-rw-r--r-- | exception.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/exception.c b/exception.c index 07ffab3..aa7ab61 100644 --- a/exception.c +++ b/exception.c @@ -41,8 +41,8 @@ void catch_exception(const char *format, ...) PyErr_NormalizeException(&etype, &evalue, &etb); if (!(py_str = PyObject_Str(evalue))) { - /* Shouldn't happen */ - srd_dbg("srd: failed to convert exception value to string"); + /* Shouldn't happen. */ + srd_dbg("Failed to convert exception value to string."); return; } @@ -74,8 +74,7 @@ void catch_exception(const char *format, ...) py_tb->tb_frame->f_code->co_name); py_str_as_str(py_str, &tracestr); Py_DecRef(py_str); - g_string_printf(msg, "srd: %s in %s: %s", ename, - tracestr, str); + g_string_printf(msg, "%s in %s: %s", ename, tracestr, str); srd_dbg(msg->str); g_free(tracestr); } |