resolved: include actual path in error message
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 20 Apr 2020 12:14:09 +0000 (14:14 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 20 Apr 2020 13:43:33 +0000 (15:43 +0200)
commit5c35cd5f47a17719773fcf02cafa79ed15f44d68
tree68d432d250c9b84f19527ba38b682da64ab85e9d
parente53b8cc5216742f919dff35d9c86397b06d5f33d
resolved: include actual path in error message

An error with a full path is immediately clear. OTOH, a user might not be
familiar with concenpt like "private resolv.conf".

I opted to use %s-formatting for the path, because the code is much easier to
read this way. Any difference in t speed of execution is not important.
src/resolve/resolved-resolv-conf.c