devsegment: fix segmentcreate function signature

This commit is contained in:
mischief 2014-12-08 23:16:22 -08:00
parent 8ec06b6fc6
commit 98645db9ab

View file

@ -264,7 +264,7 @@ segmentclose(Chan *c)
putgseg(c->aux);
}
static void
static Chan*
segmentcreate(Chan *c, char *name, int omode, ulong perm)
{
int x, xfree;
@ -311,6 +311,7 @@ segmentcreate(Chan *c, char *name, int omode, ulong perm)
c->qid.vers = 0;
c->mode = openmode(omode);
c->mode = OWRITE;
return c;
}
static long