From: Frantisek Sumsal Date: Fri, 3 Dec 2021 06:37:32 +0000 (+0100) Subject: analyze: fix build with -Db_ndebug=true X-Git-Tag: v250-rc1~85^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=466e63a453da9132e84ec9777de3eae4e840a15c;p=thirdparty%2Fsystemd.git analyze: fix build with -Db_ndebug=true --- diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index a641be4179b..d5057bbe85b 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -1959,7 +1959,7 @@ static int dump_filesystems(int argc, char *argv[], void *userdata) { const statfs_f_type_t *magic; bool is_primary = false; - assert(fs_type_from_string(*filesystem, &magic) >= 0); + assert_se(fs_type_from_string(*filesystem, &magic) >= 0); for (size_t i = 0; magic[i] != 0; i++) { const char *primary;