]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsfd: make the order of calling finalize_* and initialize_* consistent
authorMasatake YAMATO <yamato@redhat.com>
Tue, 31 Oct 2023 23:18:11 +0000 (08:18 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Tue, 31 Oct 2023 23:18:25 +0000 (08:18 +0900)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
misc-utils/lsfd.c

index 862a0d4e0b2d6662f776f4a3dc3c63041a9574d3..0bb02e282104a0f1e73d1463a75392406d4d1e9b 100644 (file)
@@ -2323,9 +2323,9 @@ int main(int argc, char *argv[])
        /* cleanup */
        delete(&ctl.procs, &ctl);
 
-       finalize_ipc_table();
        finalize_devdrvs();
        finalize_classes();
+       finalize_ipc_table();
        finalize_nodevs();
 
        return 0;