summaryrefslogtreecommitdiffstats
path: root/src/test/test-barrier.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-barrier.c')
-rw-r--r--src/test/test-barrier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-barrier.c b/src/test/test-barrier.c
index 0538de9949..7e8bfc0ad6 100644
--- a/src/test/test-barrier.c
+++ b/src/test/test-barrier.c
@@ -429,7 +429,7 @@ static int intro(void) {
*/
Virtualization v = detect_virtualization();
- if (v < 0 && ERRNO_IS_PRIVILEGE(v))
+ if (ERRNO_IS_NEG_PRIVILEGE(v))
return log_tests_skipped("Cannot detect virtualization");
if (v != VIRTUALIZATION_NONE)