summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-20 15:56:14 +0200
committerTom Gundersen <teg@jklm.no>2014-08-20 15:56:18 +0200
commita9feff3d774eaa1cc1b59189e8f344c01e69f888 (patch)
tree89eaacbc8498a1e08437426da575a22073c15e56 /src/resolve
parente1ad6e245dcf63faa8f183063eb97678f4f9ac94 (diff)
resolved: write resolv.conf search - switch arguments
Found by Lukáš Nykrýn.
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/resolved-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
index 04ee204074..56baf8730d 100644
--- a/src/resolve/resolved-manager.c
+++ b/src/resolve/resolved-manager.c
@@ -699,7 +699,7 @@ static void write_resolv_conf_server(DnsServer *s, FILE *f, unsigned *count) {
}
static void write_resolv_conf_search(const char *domain, FILE *f,
- unsigned *length, unsigned *count) {
+ unsigned *count, unsigned *length) {
assert(domain);
assert(f);
assert(length);