aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/netfiles
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-03-18 19:30:58 +0000
committerrsc <devnull@localhost>2005-03-18 19:30:58 +0000
commitb636466107aa6b1d7802ecd67527d6b854203793 (patch)
tree7bcc23875f9ca2a4964d7a8621f1e3f4422dca72 /src/cmd/netfiles
parent7c709434eccd461a3f3c522df6224adf4e50a8da (diff)
downloadplan9port-b636466107aa6b1d7802ecd67527d6b854203793.tar.gz
plan9port-b636466107aa6b1d7802ecd67527d6b854203793.tar.bz2
plan9port-b636466107aa6b1d7802ecd67527d6b854203793.zip
use netfile* instead of net*
Diffstat (limited to 'src/cmd/netfiles')
-rw-r--r--src/cmd/netfiles/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/netfiles/main.c b/src/cmd/netfiles/main.c
index 0b58e48b..9ee20f34 100644
--- a/src/cmd/netfiles/main.c
+++ b/src/cmd/netfiles/main.c
@@ -256,7 +256,7 @@ parsename(char *name, char **server, char **path)
char*
filestat(char *server, char *path)
{
- return sysrun(2, "9 netstat %q %q", server, path);
+ return sysrun(2, "9 netfilestat %q %q", server, path);
}
/*
@@ -304,9 +304,9 @@ filethread(void *v)
winprint(w, "data", "[reading...]");
winaddr(w, ",");
if(strcmp(type, "file")==0)
- twait(pipetowin(w, "data", 2, "9 netget %q %q", server, path));
+ twait(pipetowin(w, "data", 2, "9 netfileget %q %q", server, path));
else
- twait(pipetowin(w, "data", 2, "9 netget -d %q %q | winid=%d mc", server, path, w->id));
+ twait(pipetowin(w, "data", 2, "9 netfileget -d %q %q | winid=%d mc", server, path, w->id));
cleanname(name);
if(strcmp(type, "directory")==0){
p = name+strlen(name);
@@ -346,7 +346,7 @@ filethread(void *v)
fprint(2, "Netfiles: bad name %s\n", name);
goto out;
}
- if(twait(pipewinto(w, "body", 2, "9 netput %q %q", server, path)) >= 0){
+ if(twait(pipewinto(w, "body", 2, "9 netfileput %q %q", server, path)) >= 0){
cleanname(name);
winname(w, name);
winctl(w, "clean");