diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c index 7145c0d2e60f..6b83173dc263 100644 --- a/sys/geom/geom_disk.c +++ b/sys/geom/geom_disk.c @@ -406,7 +406,7 @@ disk_destroy(struct disk *dp) dp->d_destroyed = 1; if (dp->d_devstat != NULL) devstat_remove_entry(dp->d_devstat); - g_post_event(g_disk_destroy, dp, M_WAITOK, NULL, NULL); + g_post_event(g_disk_destroy, dp, M_WAITOK, NULL); } static void