Skip to content

Commit 95ff304

Browse files
committed
cdba-server: include PID to the syslog message
Include PID into syslog message to simplify identifying the CDBA sessions. Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent 5db3df3 commit 95ff304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cdba-server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ int main(int argc, char **argv)
216216
if (!username)
217217
username = "nobody";
218218

219-
openlog("cdba-server", 0, LOG_DAEMON);
219+
openlog("cdba-server", LOG_PID, LOG_DAEMON);
220220

221221
ret = device_parser(".cdba");
222222
if (ret) {

0 commit comments

Comments
 (0)