Skip to content

Commit

Permalink
fix: fixes for changes from John's core review
Browse files Browse the repository at this point in the history
Signed-off-by: William Henderson <william.henderson@nutanix.com>
  • Loading branch information
w-henderson committed Aug 10, 2023
1 parent 7bf7622 commit 5c0792a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/gpio-pci-idio-16.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ main(int argc, char *argv[])
}

if (enable_migr) {
ret = vfu_setup_device_migration_callbacks(vfu_ctx, 0, &migr_callbacks);
ret = vfu_setup_device_migration_callbacks(vfu_ctx, &migr_callbacks);
if (ret < 0) {
err(EXIT_FAILURE, "failed to setup device migration");
}
Expand Down
2 changes: 1 addition & 1 deletion samples/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ int main(int argc, char *argv[])
err(EXIT_FAILURE, "failed to setup BAR1 region");
}

ret = vfu_setup_device_migration_callbacks(vfu_ctx, 0, &migr_callbacks);
ret = vfu_setup_device_migration_callbacks(vfu_ctx, &migr_callbacks);

if (ret < 0) {
err(EXIT_FAILURE, "failed to setup device migration");
Expand Down

0 comments on commit 5c0792a

Please sign in to comment.