summaryrefslogtreecommitdiff
path: root/src/analyze
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2021-12-03 07:37:32 +0100
committerFrantisek Sumsal <frantisek@sumsal.cz>2021-12-03 16:22:52 +0100
commit466e63a453da9132e84ec9777de3eae4e840a15c (patch)
tree88f9e7e2caca1d0892c4d3b46143bb36f8074914 /src/analyze
parent6108ab163ef8fe3da1051b5646138468d091f47e (diff)
downloadsystemd-466e63a453da9132e84ec9777de3eae4e840a15c.tar.gz
analyze: fix build with -Db_ndebug=true
Diffstat (limited to 'src/analyze')
-rw-r--r--src/analyze/analyze.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c
index a641be4179..d5057bbe85 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;