diag_msg: Include subsys_id in printed message

This commit is contained in:
Harald Welte 2017-01-01 11:56:11 +01:00
parent e4204631bc
commit f6bd58c7fb
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ int diag_rx_ext_msg_f(struct diag_instance *di, struct msgb *msgb)
fmt = (const char *) msg->params + num_args*sizeof(msg->params[0]);
file = fmt + strlen(fmt) + 1;
printf("MSG(%u|%s:%u): ", diag_ts_to_epoch(msg->timestamp), file, msg->line_nr);
printf("MSG(%u|%u|%s:%u): ", msg->subsys_id, diag_ts_to_epoch(msg->timestamp), file, msg->line_nr);
switch (num_args) {
case 0:
fputs(fmt, stdout);