summaryrefslogtreecommitdiff
path: root/sys/src/cmd/ip
diff options
context:
space:
mode:
authorftrvxmtrx <devnull@localhost>2014-05-03 13:07:52 +0200
committerftrvxmtrx <devnull@localhost>2014-05-03 13:07:52 +0200
commitd2c3185bfa486bb3f60d23771c701cfeaa1316db (patch)
treeef888f3c39c10fd1b28683be3b3db373ea85ad65 /sys/src/cmd/ip
parent6f58f7fed4e6e00e6632ff9fe5bc56e75879424f (diff)
fix threadsetname usage in few places
Diffstat (limited to 'sys/src/cmd/ip')
-rw-r--r--sys/src/cmd/ip/tftpfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/ip/tftpfs.c b/sys/src/cmd/ip/tftpfs.c
index 2b5aac59e..ed7c70e05 100644
--- a/sys/src/cmd/ip/tftpfs.c
+++ b/sys/src/cmd/ip/tftpfs.c
@@ -171,7 +171,7 @@ download(void *aux)
if((c = f->c) == nil)
goto out;
- threadsetname(f->path);
+ threadsetname("%s", f->path);
snprint(buf, sizeof(buf), "%s/udp!*!0", net);
if((cfd = announce(buf, adir)) < 0){