summaryrefslogtreecommitdiff
path: root/src/nss-resolve/nss-resolve.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-18 21:01:07 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-18 21:01:07 +0200
commit878cd63db2d6cfc00ae4d68355a2d5402cd9f24f (patch)
tree02fcafa54b6770fe046eca8c459e2b3cb0abd7be /src/nss-resolve/nss-resolve.c
parenteccb01acfb327f1f6819c1f3851765049b156865 (diff)
resolved: fix bus signatures to follow family as int change
Diffstat (limited to 'src/nss-resolve/nss-resolve.c')
-rw-r--r--src/nss-resolve/nss-resolve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nss-resolve/nss-resolve.c b/src/nss-resolve/nss-resolve.c
index c172022d76..5268fb763a 100644
--- a/src/nss-resolve/nss-resolve.c
+++ b/src/nss-resolve/nss-resolve.c
@@ -131,7 +131,7 @@ enum nss_status _nss_resolve_gethostbyname4_r(
if (r < 0)
goto fail;
- r = sd_bus_message_append(req, "sy", name, AF_UNSPEC);
+ r = sd_bus_message_append(req, "si", name, AF_UNSPEC);
if (r < 0)
goto fail;
@@ -297,7 +297,7 @@ enum nss_status _nss_resolve_gethostbyname3_r(
if (r < 0)
goto fail;
- r = sd_bus_message_append(req, "sy", name, af);
+ r = sd_bus_message_append(req, "si", name, af);
if (r < 0)
goto fail;