aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/ramfs.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-12-27 00:38:16 +0000
committerrsc <devnull@localhost>2004-12-27 00:38:16 +0000
commit0a839b83142bba3205fdd5e30d2ba3514aa4513b (patch)
treebcbb1d580b10c77c68c65913383696bf6f3da289 /src/cmd/ramfs.c
parent3694b738b883dec5b93f11d4025541af5f713482 (diff)
downloadplan9port-0a839b83142bba3205fdd5e30d2ba3514aa4513b.tar.gz
plan9port-0a839b83142bba3205fdd5e30d2ba3514aa4513b.tar.bz2
plan9port-0a839b83142bba3205fdd5e30d2ba3514aa4513b.zip
clone is a bad word on linux
Diffstat (limited to 'src/cmd/ramfs.c')
-rw-r--r--src/cmd/ramfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/ramfs.c b/src/cmd/ramfs.c
index e155607a..a64c0a1e 100644
--- a/src/cmd/ramfs.c
+++ b/src/cmd/ramfs.c
@@ -292,7 +292,7 @@ rattach(Fid *f)
}
char*
-clone(Fid *f, Fid **nf)
+xclone(Fid *f, Fid **nf)
{
if(!f->busy)
return Ebadfid;
@@ -326,7 +326,7 @@ rwalk(Fid *f)
nf = nil;
rhdr.nwqid = 0;
if(thdr.newfid != thdr.fid){
- err = clone(f, &nf);
+ err = xclone(f, &nf);
if(err)
return err;
f = nf; /* walk the new fid */