aboutsummaryrefslogtreecommitdiff
path: root/src/common/sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/sandbox.c')
-rw-r--r--src/common/sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index eba766bb1..a387f371c 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -1397,7 +1397,7 @@ sandbox_getaddrinfo(const char *name, const char *servname,
/* getting here means something went wrong */
log_err(LD_BUG,"(Sandbox) failed to get address %s!", name);
- return -1;
+ return EAI_NONAME;
}
int