Markus Armbruster
312fd5f290
error: Strip trailing '\n' from error string arguments (again)
Commit 6daf194d and be62a2eb got rid of a bunch, but they keep coming
back. Tracked down with this Coccinelle semantic patch:
@r@
expression err, eno, cls, fmt;
position p;
@@
(
error_report(fmt, ...)@p
|
error_set(err, cls, fmt, ...)@p
|
error_set_errno(err, eno, cls, fmt, ...)@p
|
error_setg(err, fmt, ...)@p
|
error_setg_errno(err, eno, fmt, ...)@p
)
@script:python@
fmt << r.fmt;
p << r.p;
@@
if "\\n" in str(fmt):
print "%s:%s:%s:%s" % (p[0].file, p[0].line, p[0].column, fmt)
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1360354939-10994-4-git-send-email-armbru@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-02-11 08:13:19 -06:00
..
2013-01-31 22:27:00 +01:00
2013-02-11 08:13:19 -06:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:32:45 +01:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:30 +01:00
2010-07-26 17:35:54 -05:00
2012-12-19 08:31:31 +01:00
2013-02-11 08:13:19 -06:00
2013-01-16 12:02:47 -06:00
2010-07-26 17:35:54 -05:00
2013-01-21 13:33:12 -06:00
2013-01-30 11:16:28 +01:00
2012-12-19 08:31:30 +01:00
2010-07-26 17:35:54 -05:00
2013-01-15 18:25:30 -06:00
2013-01-15 18:25:30 -06:00
2010-07-26 17:35:54 -05:00
2012-12-19 08:32:45 +01:00
2013-01-30 11:14:46 +01:00
2012-12-19 08:32:45 +01:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:30 +01:00
2013-02-06 08:29:58 -06:00
2012-10-06 18:54:14 +02:00
2012-12-19 08:32:39 +01:00
2012-07-28 09:23:11 +00:00
2010-07-26 17:35:54 -05:00
2012-11-01 14:00:04 +01:00
2012-11-01 14:00:05 +01:00
2012-12-19 08:32:39 +01:00
2010-07-26 17:36:14 -05:00
2011-08-20 23:01:08 -05:00
2011-02-23 16:28:28 -06:00
2012-11-01 14:00:04 +01:00
2011-02-23 16:28:28 -06:00
2011-12-14 11:09:44 +00:00
2011-12-14 11:09:44 +00:00
2012-12-19 08:32:39 +01:00
2012-11-01 19:49:45 +01:00
2012-12-06 09:17:05 +01:00
2012-12-19 08:32:39 +01:00
2012-12-19 08:32:39 +01:00
2012-12-19 08:32:39 +01:00
2013-01-30 10:31:22 +01:00
2013-01-21 13:33:12 -06:00
2013-01-21 13:33:12 -06:00
2013-01-21 13:33:12 -06:00
2010-07-26 17:35:54 -05:00
2011-01-23 16:21:20 +00:00