Make them the same as we do with error messages since they often end up
in logs.

Since they are not translated [1] the existing check didn't catch that.


[1] IMO in some cases they are in fact used as errors, and maybe would
be worth to be translated. But this is for another series


Peter Krempa (2):
  Don't break up strings for VIR_WARN messages
  syntax-check: Enforce no linebreaks in VIR_WARN messages

 build-aux/syntax-check.mk               |  8 +++++
 src/bhyve/bhyve_command.c               |  4 +--
 src/conf/virdomainjob.c                 |  5 +--
 src/cpu/cpu_x86.c                       |  5 ++-
 src/esx/esx_vi.c                        |  3 +-
 src/hypervisor/virhostdev.c             | 12 +++----
 src/interface/interface_backend_netcf.c | 12 +++----
 src/libxl/libxl_conf.c                  |  4 +--
 src/libxl/xen_xl.c                      |  4 +--
 src/lxc/lxc_driver.c                    |  3 +-
 src/lxc/lxc_process.c                   |  3 +-
 src/network/bridge_driver.c             | 15 +++------
 src/nwfilter/nwfilter_dhcpsnoop.c       |  3 +-
 src/qemu/qemu_block.c                   |  3 +-
 src/qemu/qemu_command.c                 |  3 +-
 src/qemu/qemu_conf.c                    |  4 +--
 src/qemu/qemu_domain.c                  | 44 +++++++++----------------
 src/qemu/qemu_domain_address.c          | 10 ++----
 src/qemu/qemu_driver.c                  | 10 +++---
 src/qemu/qemu_firmware.c                |  6 ++--
 src/qemu/qemu_hotplug.c                 |  3 +-
 src/qemu/qemu_migration.c               | 11 +++----
 src/qemu/qemu_monitor_json.c            |  4 +--
 src/remote/remote_driver.c              |  3 +-
 src/rpc/virnetserverclient.c            |  5 ++-
 src/security/security_dac.c             |  3 +-
 src/security/security_selinux.c         |  7 ++--
 src/security/security_stack.c           | 34 +++++++------------
 src/storage/storage_backend_rbd.c       |  4 +--
 src/storage/storage_backend_zfs.c       |  3 +-
 src/storage/storage_util.c              |  4 +--
 src/storage_file/storage_file_probe.c   |  3 +-
 src/vbox/vbox_common.c                  |  4 +--
 src/vmx/vmx.c                           |  6 ++--
 src/vz/vz_sdk.c                         |  3 +-
 35 files changed, 96 insertions(+), 162 deletions(-)

-- 
2.54.0

Reply via email to