json: log about the right line number
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Mar 2019 17:11:35 +0000 (18:11 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 5 Mar 2019 20:10:57 +0000 (21:10 +0100)
commit13a16a2bb3170c5ee4427b6a437ab01ac8c0201f
tree6b75c9d29be2857e43740bad631b813e1b51ff40
parent3170dfe42d8f609cacd29e3f260c78e6ced17a59
json: log about the right line number

We mean the line number in the json data, not the line number in our
C source code.

Addresses: https://github.com/systemd/systemd/pull/9762#issuecomment-441183987
src/shared/json.c