From cd5e14a834fd1a435e68bef12b7e055b546fa327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Thu, 26 Oct 2023 23:27:40 +0800 Subject: [PATCH] LM (Linux): tidy --- src/detection/lm/lm_linux.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/detection/lm/lm_linux.c b/src/detection/lm/lm_linux.c index 0fb4fdba5..c91fdf477 100644 --- a/src/detection/lm/lm_linux.c +++ b/src/detection/lm/lm_linux.c @@ -56,12 +56,12 @@ static const char* getSshdVersion(FFstrbuf* version) static const char* getSddmVersion(FFstrbuf* version) { FF_LIBRARY_LOAD(zlib, &instance.config.library.libZ, "dlopen libz failed", "libz" FF_LIBRARY_EXTENSION, 2) - FF_LIBRARY_LOAD_SYMBOL_MESSAGE(zlib, gzopen); - FF_LIBRARY_LOAD_SYMBOL_MESSAGE(zlib, gzread); - FF_LIBRARY_LOAD_SYMBOL_MESSAGE(zlib, gzerror); - FF_LIBRARY_LOAD_SYMBOL_MESSAGE(zlib, gztell); - FF_LIBRARY_LOAD_SYMBOL_MESSAGE(zlib, gzrewind); - FF_LIBRARY_LOAD_SYMBOL_MESSAGE(zlib, gzclose); + FF_LIBRARY_LOAD_SYMBOL_MESSAGE(zlib, gzopen) + FF_LIBRARY_LOAD_SYMBOL_MESSAGE(zlib, gzread) + FF_LIBRARY_LOAD_SYMBOL_MESSAGE(zlib, gzerror) + FF_LIBRARY_LOAD_SYMBOL_MESSAGE(zlib, gztell) + FF_LIBRARY_LOAD_SYMBOL_MESSAGE(zlib, gzrewind) + FF_LIBRARY_LOAD_SYMBOL_MESSAGE(zlib, gzclose) gzFile file = ffgzopen("/usr/share/man/man1/sddm.1.gz", "rb"); if (file == Z_NULL)