From: Masatake YAMATO Date: Tue, 31 Oct 2023 23:18:11 +0000 (+0900) Subject: lsfd: make the order of calling finalize_* and initialize_* consistent X-Git-Tag: v2.40-rc1~165^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=837c9eeccdc4bc99382394121bbb1b63eba2b866;p=thirdparty%2Futil-linux.git lsfd: make the order of calling finalize_* and initialize_* consistent Signed-off-by: Masatake YAMATO --- diff --git a/misc-utils/lsfd.c b/misc-utils/lsfd.c index 862a0d4e0b..0bb02e2821 100644 --- a/misc-utils/lsfd.c +++ b/misc-utils/lsfd.c @@ -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;