Commits

Anonymous committed 5811bf1

Be consistent with the notifications. The format is:

op filename extras

Where filename is relative to the the mount point.

Comments (0)

Files changed (1)

 	}
 
 	respond(r, nil);
-	fprint(ctlfd, "open: %s %d\n", ((Aux*)r->fid->aux)->name, r->ifcall.mode);
+	fprint(ctlfd, "open %s %d\n", ((Aux*)r->fid->aux)->name, r->ifcall.mode);
 }
 
 static void
 	r->ofcall.qid = r->fid->qid;
 
 	respond(r, nil);
-	fprint(ctlfd, "create: %s %d %d\n", a->name, r->ifcall.mode, r->ifcall.perm);
+	fprint(ctlfd, "create %s %d %d\n", a->name, r->ifcall.mode, r->ifcall.perm);
 }
 
 static void
 	 * If lib9p has freed r->fid->aux, a->name is wrong.
      * Instead of copying the name, we just notify before responding.
 	 */
-	fprint(ctlfd, "remove: %s\n", a->name);
+	fprint(ctlfd, "remove %s\n", a->name);
 	respond(r, nil);
 }
 
 	
 	r->ofcall.count = n;
 	respond(r, nil);
-	fprint(ctlfd, "read: %s %ld %lld\n", a->name, n, r->ifcall.offset);
+	fprint(ctlfd, "read %s %ld %lld\n", a->name, n, r->ifcall.offset);
 }
 
 static void
 
 	r->ofcall.count = n;
 	respond(r, nil);
-	fprint(ctlfd, "write: %s %ld %lld\n", a->name, n, r->ifcall.offset);
+	fprint(ctlfd, "write %s %ld %lld\n", a->name, n, r->ifcall.offset);
 }
 
 static void
 		return;
 	}
 	respond(r, nil);
-	fprint(ctlfd, "stat: %s\n", ((Aux*)r->fid->aux)->name);
+	fprint(ctlfd, "stat %s\n", ((Aux*)r->fid->aux)->name);
 }
 
 static void
 		respond(r, "could not wstat");
 	else{
 		respond(r, nil);
-		fprint(ctlfd, "wstat: %s %D\n", a->name, &r->d);
+		fprint(ctlfd, "wstat %s %D\n", a->name, &r->d);
 	}
 }