namespace-util: add missing half of the assertion in is_our_namespace()
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
98852876dd
commit
a53d9a5794
@@ -359,7 +359,7 @@ int is_our_namespace(int fd, NamespaceType type) {
|
||||
int r;
|
||||
|
||||
assert(fd >= 0);
|
||||
assert(type < _NAMESPACE_TYPE_MAX);
|
||||
assert(type >= 0 && type < _NAMESPACE_TYPE_MAX);
|
||||
|
||||
r = fd_is_namespace(fd, type);
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user