From 3b380424093d674de1687fa8c299d2f33e4d547c Mon Sep 17 00:00:00 2001 From: Jasmine Iwanek Date: Sun, 13 Mar 2022 17:25:17 -0400 Subject: [PATCH] Fix the fix --- src/lpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lpt.c b/src/lpt.c index 30cf6c418..dd1b4ed6a 100644 --- a/src/lpt.c +++ b/src/lpt.c @@ -103,7 +103,7 @@ lpt_devices_close(void) for (i = 0; i < PARALLEL_MAX; i++) { dev = &lpt_ports[i]; - if (lpt_ports[i].dt && lpt_ports[i].dt->init) + if (lpt_ports[i].dt && lpt_ports[i].dt->close) dev->dt->close(dev->priv); dev->dt = NULL;