diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index dedc389cc..b7b8b4b17 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -6846,7 +6846,7 @@ static void blockio_exec_rw(struct vdisk_cmd_params *p, bool write, bool fua) static int err_inj_cntr; if (++err_inj_cntr % 256 == 0) { - PRINT_INFO("blockio_exec_rw() error injection"); + PRINT_INFO("%s() error injection", __func__); scst_set_busy(cmd); goto free_bio; } diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index 2090ba64a..34d8b0828 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -2027,7 +2027,7 @@ void scst_rx_data(struct scst_cmd *cmd, int status, break; default: - PRINT_ERROR("scst_rx_data() received unknown status %x", + PRINT_ERROR("%s() received unknown status %x", __func__, status); if (!cmd->write_not_received_set) scst_cmd_set_write_no_data_received(cmd);