qemu/hw/9pfs
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
..
codir.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
cofile.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
cofs.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
coxattr.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
Makefile.objs Remove libhw 2012-10-05 16:07:49 -05:00
virtio-9p-coth.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p-coth.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p-device.c hw/9pfs: Fix unchecked strdup() by converting to g_strdup() 2013-01-30 11:14:46 +01:00
virtio-9p-handle.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p-local.c hw/9pfs: Fix unchecked strdup() by converting to g_strdup() 2013-01-30 11:14:46 +01:00
virtio-9p-posix-acl.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p-proxy.c error: Strip trailing '\n' from error string arguments (again) 2013-02-11 08:13:19 -06:00
virtio-9p-proxy.h hw/9pfs: Proxy getversion 2012-01-04 20:20:55 +05:30
virtio-9p-synth.c hw/9pfs: avoid buffer overrun 2012-10-05 07:58:37 -05:00
virtio-9p-synth.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
virtio-9p-xattr-user.c virtio-9p: avoid unwarranted uses of strncpy 2012-10-05 07:58:37 -05:00
virtio-9p-xattr.c virtio-9p: avoid unwarranted uses of strncpy 2012-10-05 07:58:37 -05:00
virtio-9p-xattr.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p.c qemu/9p: Don't ignore error in fid clunk 2013-02-06 08:29:50 -06:00
virtio-9p.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00