mirror of
https://github.com/systemd/systemd
synced 2024-07-22 10:44:58 +00:00
test: use ERRNO_IS_NEG_NOT_SUPPORTED() in one more place
This commit is contained in:
parent
6f7936cf57
commit
cd1c510f0c
|
@ -99,7 +99,7 @@ TEST(load_userns) {
|
|||
int r;
|
||||
|
||||
r = uid_range_load_userns(&p, NULL);
|
||||
if (r < 0 && ERRNO_IS_NOT_SUPPORTED(r))
|
||||
if (ERRNO_IS_NEG_NOT_SUPPORTED(r))
|
||||
return;
|
||||
|
||||
assert_se(r >= 0);
|
||||
|
|
Loading…
Reference in a new issue