summaryrefslogtreecommitdiff
path: root/tests/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/random.c')
-rw-r--r--tests/random.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/random.c b/tests/random.c
index e670a28..c894e59 100644
--- a/tests/random.c
+++ b/tests/random.c
@@ -58,14 +58,14 @@ out:
int
main(void) {
- int rc = -1;
+ int rc = EXIT_FAILURE;
if (test_urandom_bytes()) {
logerr("test_urandom_bytes()");
goto out;
}
- rc = 0;
+ rc = EXIT_SUCCESS;
out:
- return !!rc;
+ return rc;
}