diff options
Diffstat (limited to 'src/cmd/ndb')
-rwxr-xr-x | src/cmd/ndb/dn.c | 2 | ||||
-rw-r--r-- | src/cmd/ndb/ndbmkhosts.c | 22 |
2 files changed, 11 insertions, 13 deletions
diff --git a/src/cmd/ndb/dn.c b/src/cmd/ndb/dn.c index 8052d582..c9356b54 100755 --- a/src/cmd/ndb/dn.c +++ b/src/cmd/ndb/dn.c @@ -112,7 +112,7 @@ char *rname[Rmask+1] = "server failure", "bad name", "unimplemented", - "we don't like you", + "we don't like you" }; Lock dnlock; diff --git a/src/cmd/ndb/ndbmkhosts.c b/src/cmd/ndb/ndbmkhosts.c index 2fc3d7f7..fcdffcf9 100644 --- a/src/cmd/ndb/ndbmkhosts.c +++ b/src/cmd/ndb/ndbmkhosts.c @@ -187,18 +187,16 @@ main(int argc, char *argv[]) parse(unsharp("#9/ndb/friends")); } -/* -// sprint(fn, "/lib/ndb/hosts.%-.21s", domname); -// fd = create(fn, OWRITE, 0664); -// if(fd < 0){ -// fprint(2, "can't create %s: %r\n", fn); -// exits("boom"); -// } -// for(i = 0; i < nx; i++) -// printentry(fd, &x[i]); -// close(fd); -// -*/ +/* sprint(fn, "/lib/ndb/hosts.%-.21s", domname); */ +/* fd = create(fn, OWRITE, 0664); */ +/* if(fd < 0){ */ +/* fprint(2, "can't create %s: %r\n", fn); */ +/* exits("boom"); */ +/* } */ +/* for(i = 0; i < nx; i++) */ +/* printentry(fd, &x[i]); */ +/* close(fd); */ + sprint(fn, "/lib/ndb/db.%-.24s", domname); fd = create(fn, OWRITE, 0664); |