chan: init mountpoint to NULL
authorRonald G. Minnich <rminnich@google.com>
Sun, 27 Jul 2014 20:39:10 +0000 (20:39 +0000)
committerRonald G. Minnich <rminnich@google.com>
Sun, 27 Jul 2014 20:39:10 +0000 (20:39 +0000)
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
kern/src/ns/chan.c

index d2872a0..99b0dbc 100644 (file)
@@ -170,6 +170,7 @@ struct chan *newchan(void)
        c->mqid.type = 0;
        c->name = 0;
        c->buf = NULL;
+       c->mountpoint = NULL;
        return c;
 }