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-02-11 08:13:19 -06:00
2013-02-01 00:13:41 +01:00
2013-02-11 08:13:18 -06:00
2013-02-11 08:13:19 -06:00
2013-01-30 10:48:23 -06:00
2013-02-08 07:37:24 -06:00
2013-02-01 11:03:01 -06:00
2013-02-04 14:39:07 -06:00
2013-01-15 04:09:13 +01:00
2013-01-26 13:28:16 +00:00
2013-01-30 15:39:01 +00:00
2013-01-30 11:14:46 +01:00
2013-01-29 21:50:04 +01:00
2013-02-01 11:03:00 -06:00
2013-01-30 10:31:27 +01:00
2012-02-04 12:45:10 +00:00
2013-02-01 11:03:01 -06:00
2013-02-01 10:43:24 -06:00
2013-02-06 08:29:25 -06:00
2013-02-01 11:03:01 -06:00
2013-02-01 11:03:00 -06:00
2013-01-21 13:52:24 -06:00
2013-01-10 15:11:53 -06:00
2013-01-27 14:34:27 +01:00
2013-02-01 10:43:24 -06:00
2013-02-01 10:43:24 -06:00
2013-01-30 01:31:09 +02:00
2013-02-01 00:13:41 +01:00
2013-01-11 08:43:08 -06:00
2013-02-01 10:43:28 -06:00
2013-02-01 11:03:00 -06:00
2013-02-01 11:03:00 -06:00
2012-10-23 08:58:25 -05:00
2013-02-01 10:43:24 -06:00
2013-01-30 01:31:09 +02:00
2013-01-27 01:00:19 +01:00
2013-01-21 13:52:24 -06:00
2013-02-01 10:43:24 -06:00
2013-02-01 11:03:01 -06:00
2013-02-01 11:03:00 -06:00
2013-02-01 11:03:00 -06:00
2013-02-01 11:03:00 -06:00
2013-02-01 11:03:00 -06:00
2013-02-01 11:03:01 -06:00
2013-01-26 13:20:44 +00:00
2013-01-26 13:20:44 +00:00
2013-01-26 13:20:44 +00:00
2013-02-01 11:03:00 -06:00
2013-01-15 18:26:18 -06:00
2013-02-01 11:03:03 -06:00
2013-01-30 01:31:09 +02:00
2013-02-01 01:35:43 +01:00
2013-02-01 11:03:01 -06:00
2013-02-01 11:03:00 -06:00
2013-01-26 13:20:44 +00:00
2013-01-30 01:31:09 +02:00
2013-01-10 15:11:53 -06:00
2013-01-16 11:49:05 -06:00
2012-10-23 08:58:25 -05:00
2013-01-18 19:06:57 +01:00
2013-01-21 13:52:24 -06:00
2013-01-27 23:04:26 +01:00
2013-01-26 13:20:44 +00:00
2013-02-06 16:37:24 -06:00
2013-01-15 04:09:13 +01:00
2013-02-01 15:53:09 -06:00
2013-02-01 15:53:11 -06:00
2013-02-01 11:03:01 -06:00
2013-02-01 11:03:01 -06:00
2013-02-11 08:13:19 -06:00
2013-02-11 08:13:19 -06:00
2013-02-01 00:13:41 +01:00
2013-02-01 11:03:01 -06:00
2012-12-19 08:32:45 +01:00
2013-02-01 11:03:00 -06:00
2013-02-01 11:03:00 -06:00
2013-01-10 15:11:53 -06:00
2013-02-01 11:03:00 -06:00
2013-01-10 15:11:53 -06:00
2013-01-27 14:34:27 +01:00
2013-01-27 14:34:27 +01:00
2013-01-30 15:39:02 +00:00
2013-02-11 08:13:19 -06:00
2013-02-11 08:13:19 -06:00
2013-02-01 11:03:02 -06:00
2013-02-01 11:03:02 -06:00
2013-02-01 11:03:02 -06:00
2013-02-08 11:13:44 -06:00
2013-02-08 11:14:19 -06:00
2013-02-08 07:37:24 -06:00
2012-12-19 08:29:59 +01:00
2013-02-01 11:03:03 -06:00
2013-02-08 07:37:24 -06:00
2013-01-26 13:33:02 +00:00
2011-12-20 15:44:30 -06:00
2013-02-01 10:43:24 -06:00
2013-01-14 18:30:30 +00:00
2013-02-01 13:00:33 -06:00
2013-02-01 15:08:02 -06:00
2013-02-01 11:03:00 -06:00
2013-01-30 10:31:27 +01:00
2013-02-01 11:03:00 -06:00
2013-02-01 11:03:00 -06:00
2013-02-08 11:14:20 -06:00