test-daemon: use new assertion macros

This commit is contained in:
Anouk Ceyssens
2024-07-22 23:27:52 +02:00
parent d202ea5754
commit e07d3a917a

View File

@@ -19,7 +19,7 @@ int main(int argc, char *argv[]) {
if (argc >= 2) {
unsigned x;
assert_se(safe_atou(argv[1], &x) >= 0);
ASSERT_OK(safe_atou(argv[1], &x));
duration = x * USEC_PER_SEC;
}