]> git.proxmox.com Git - mirror_corosync.git/commit - exec/coroparse.c
coroparse: Add file name and line to error message
authorJan Friesse <jfriesse@redhat.com>
Thu, 23 Aug 2018 13:55:27 +0000 (15:55 +0200)
committerJan Friesse <jfriesse@redhat.com>
Thu, 6 Sep 2018 11:01:56 +0000 (13:01 +0200)
commitf6262e57554ffdd536faa8b64e3dc3cc669efa52
tree6f0a50d5313e7f624364229d9d0a689a1a4ba1fc
parent80701845ab776288bb67ffbe5b4c1b0028defdc4
coroparse: Add file name and line to error message

It's just much easier to find out what is happening when message like

parser error: /etc/corosync/corosync.conf:39: Unexpected closing brace

is logged instead of

parser error: Unexpected closing brace

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
exec/coroparse.c