Fix strlen bug in devattach
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 23 Sep 2015 14:58:36 +0000 (10:58 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Sep 2015 19:14:00 +0000 (15:14 -0400)
commit4e082ca843fb1de5bec439ed182292f1f171e996
tree4c471f36049b8ef7959e40f2ba9a0db4d4ae4c02
parent7f3e7a0b8774d040a30aa01e126b2fbe141ba916
Fix strlen bug in devattach

The length of the buffer is not the sizeof a char *.
kern/src/ns/dev.c