diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-11-07 14:04:20 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-11-07 14:04:20 +0100 |
commit | 85e55d14dea66f5fe412ca8128487d5ea828b7b1 (patch) | |
tree | 82a9e0a919cfde62a11504d6c11fe32c36d4a409 /src/test/test-mount-util.c | |
parent | Fix Dell E7570 hwdb dimensions #7252 (#7263) (diff) | |
download | systemd-85e55d14dea66f5fe412ca8128487d5ea828b7b1.tar.xz systemd-85e55d14dea66f5fe412ca8128487d5ea828b7b1.zip |
tree-wide: do not work in assert() (#7271)
Fixes #7270.
Diffstat (limited to 'src/test/test-mount-util.c')
-rw-r--r-- | src/test/test-mount-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-mount-util.c b/src/test/test-mount-util.c index 7c5929d009..ce5e3dc8cd 100644 --- a/src/test/test-mount-util.c +++ b/src/test/test-mount-util.c @@ -26,7 +26,7 @@ static void test_mount_propagation_flags(const char *name, int ret, unsigned long expected) { long unsigned flags; - assert(mount_propagation_flags_from_string(name, &flags) == ret); + assert_se(mount_propagation_flags_from_string(name, &flags) == ret); if (ret >= 0) { const char *c; |