cdba-server: include PID to the syslog message

Include PID into syslog message to simplify identifying the CDBA
sessions.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
This commit is contained in:
Dmitry Baryshkov
2024-05-21 20:13:40 +03:00
parent 5db3df360a
commit 95ff3049f8

View File

@@ -216,7 +216,7 @@ int main(int argc, char **argv)
if (!username)
username = "nobody";
openlog("cdba-server", 0, LOG_DAEMON);
openlog("cdba-server", LOG_PID, LOG_DAEMON);
ret = device_parser(".cdba");
if (ret) {