diff --git a/src/lsi/main.c b/src/lsi/main.c index 283705b..7307858 100644 --- a/src/lsi/main.c +++ b/src/lsi/main.c @@ -16,7 +16,7 @@ void finish(void) for (i = nplugins-1; i >= 0; i--) { printf("Shutting down plugin '%s'\n", PT(i).pl_name); - (PT(i).pl_init)(); + (PT(i).pl_shutdown)(); printf("Plugin '%s' shut down\n", PT(i).pl_name); PT(i).pl_active = 0; }