mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
test-daemon: use new assertion macros
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user