aboutsummaryrefslogtreecommitdiff
path: root/src/lib9p
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib9p')
-rw-r--r--src/lib9p/ramfs.c4
-rw-r--r--src/lib9p/srv.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/src/lib9p/ramfs.c b/src/lib9p/ramfs.c
index a2f0b3d7..4be18793 100644
--- a/src/lib9p/ramfs.c
+++ b/src/lib9p/ramfs.c
@@ -25,7 +25,7 @@ fsread(Req *r)
offset = r->ifcall.offset;
count = r->ifcall.count;
-//print("read %ld %lld\n", *count, offset);
+/*print("read %ld %lld\n", *count, offset); */
if(offset >= rf->ndata){
r->ofcall.count = 0;
respond(r, nil);
@@ -104,7 +104,7 @@ fsdestroyfile(File *f)
{
Ramfile *rf;
-//fprint(2, "clunk\n");
+/*fprint(2, "clunk\n"); */
rf = f->aux;
if(rf){
free(rf->data);
diff --git a/src/lib9p/srv.c b/src/lib9p/srv.c
index 2ceba545..29b1ac2d 100644
--- a/src/lib9p/srv.c
+++ b/src/lib9p/srv.c
@@ -7,20 +7,20 @@
int chatty9p;
-// static char Ebadattach[] = "unknown specifier in attach";
+/* static char Ebadattach[] = "unknown specifier in attach"; */
static char Ebadoffset[] = "bad offset";
-// static char Ebadcount[] = "bad count";
+/* static char Ebadcount[] = "bad count"; */
static char Ebotch[] = "9P protocol botch";
static char Ecreatenondir[] = "create in non-directory";
static char Edupfid[] = "duplicate fid";
static char Eduptag[] = "duplicate tag";
static char Eisdir[] = "is a directory";
static char Enocreate[] = "create prohibited";
-// static char Enomem[] = "out of memory";
+/* static char Enomem[] = "out of memory"; */
static char Enoremove[] = "remove prohibited";
static char Enostat[] = "stat prohibited";
static char Enotfound[] = "file not found";
-// static char Enowrite[] = "write prohibited";
+/* static char Enowrite[] = "write prohibited"; */
static char Enowstat[] = "wstat prohibited";
static char Eperm[] = "permission denied";
static char Eunknownfid[] = "unknown fid";
@@ -348,7 +348,7 @@ rwalk(Req *r, char *error)
if(error==nil && r->ifcall.nwname!=0)
r->error = Enotfound;
}else
- r->error = nil; // No error on partial walks
+ r->error = nil; /* No error on partial walks */
}else{
if(r->ofcall.nwqid == 0){
/* Just a clone */