summaryrefslogtreecommitdiff
path: root/sys/src/cmd/ndb
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2022-12-12 20:47:01 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2022-12-12 20:47:01 +0000
commit44fae0b28cb1a66a3becb5528f7813ac42bc7696 (patch)
treed5ee4d5b060294204847720b573ced2860549b76 /sys/src/cmd/ndb
parente2509e7653a9845c7901e297e5c0da679322eee5 (diff)
ndb/dns, ndb/cs: post to /srv instead of #s
Diffstat (limited to 'sys/src/cmd/ndb')
-rw-r--r--sys/src/cmd/ndb/cs.c2
-rw-r--r--sys/src/cmd/ndb/dns.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/cmd/ndb/cs.c b/sys/src/cmd/ndb/cs.c
index 0396c5706..18c6ffbdc 100644
--- a/sys/src/cmd/ndb/cs.c
+++ b/sys/src/cmd/ndb/cs.c
@@ -245,7 +245,7 @@ main(int argc, char *argv[])
netinit(0);
if(!justsetname){
- snprint(servefile, sizeof(servefile), "#s/cs%s", ext);
+ snprint(servefile, sizeof(servefile), "/srv/cs%s", ext);
unmount(servefile, mntpt);
remove(servefile);
diff --git a/sys/src/cmd/ndb/dns.c b/sys/src/cmd/ndb/dns.c
index 2510f3619..e93a70284 100644
--- a/sys/src/cmd/ndb/dns.c
+++ b/sys/src/cmd/ndb/dns.c
@@ -189,7 +189,7 @@ main(int argc, char *argv[])
nowns = nsec();
dnsuser = estrdup(getuser());
- snprint(servefile, sizeof servefile, "#s/dns%s", ext);
+ snprint(servefile, sizeof servefile, "/srv/dns%s", ext);
dir = dirstat(servefile);
if (dir)
sysfatal("%s exists; another dns instance is running",