summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/ports-clean.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/libdiskfs/ports-clean.c b/libdiskfs/ports-clean.c
index 53162988..90dbb5de 100644
--- a/libdiskfs/ports-clean.c
+++ b/libdiskfs/ports-clean.c
@@ -28,13 +28,7 @@ protid_clean (void *arg)
away on a port. */
void (*ports_cleanroutines[])(void *)=
{
- 0,
- protid_clean,
- pager_clean,
- 0,
- 0,
- 0,
- fshelp_transboot_clean,
+ [PT_PROTID] = protid_clean,
+ [PT_PAGER] = pager_clean,
+ [PT_TRANSBOOT] = fshelp_transboot_clean,
};
-
-