Skip to content

Commit

Permalink
Fix plugin load error for the itdtimg backend (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
Atsushi Abe authored Mar 13, 2021
1 parent 4be4c40 commit 0bfb629
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tape_drivers/generic/itdtimg/itdtimg_tc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ int itdtimage_get_serialnumber(void *vstate, char **result)
return DEVICE_GOOD;
}

int filedebug_get_info(void *device, struct tc_drive_info *info)
int itdtimage_get_info(void *device, struct tc_drive_info *info)
{
/*
* Return dummy data.
Expand Down Expand Up @@ -1642,6 +1642,7 @@ struct tape_ops itdtimage_handler = {
.is_mountable = itdtimage_is_mountable,
.get_worm_status = itdtimage_get_worm_status,
.get_serialnumber = itdtimage_get_serialnumber,
.get_info = itdtimage_get_info,
.set_profiler = itdtimage_set_profiler,
.get_block_in_buffer = itdtimage_get_block_in_buffer,
.is_readonly = itdtimage_is_readonly,
Expand Down

0 comments on commit 0bfb629

Please sign in to comment.