summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/dns-domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/dns-domain.c b/src/shared/dns-domain.c
index cc5ad582db..e43aa12882 100644
--- a/src/shared/dns-domain.c
+++ b/src/shared/dns-domain.c
@@ -1280,7 +1280,7 @@ int dns_name_apply_idna(const char *name, char **ret) {
int r;
r = dlopen_idn();
- if (r == EOPNOTSUPP) {
+ if (r == -EOPNOTSUPP) {
*ret = NULL;
return 0;
}