aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/netfiles/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/netfiles/main.c')
-rw-r--r--src/cmd/netfiles/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/netfiles/main.c b/src/cmd/netfiles/main.c
index d7ee27a8..9bd9672b 100644
--- a/src/cmd/netfiles/main.c
+++ b/src/cmd/netfiles/main.c
@@ -231,6 +231,7 @@ plumbthread(void *v)
CFid *fid;
Plumbmsg *m;
+ threadsetname("plumbthread");
fid = plumbopenfid("netfileedit", OREAD);
if(fid == nil){
fprint(2, "cannot open plumb/netfileedit: %r\n");
@@ -521,6 +522,7 @@ loopthread(void *v)
{
QLock lk;
+ threadsetname("loopthread");
qlock(&lk);
qlock(&lk);
}
@@ -542,6 +544,8 @@ threadmain(int argc, char **argv)
if(argc)
usage();
+ cprint("netfiles starting\n");
+
threadnotify(nil, 0); /* set up correct default handlers */
fmtinstall('E', eventfmt);