Fix #version's stat
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 25 May 2016 16:29:18 +0000 (12:29 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 16 Jun 2016 15:48:38 +0000 (11:48 -0400)
commitd681af544893f9253c9bd94c65cdad6bd6f0e1af
treec2604a0f8782f4c69b1ed381dba36172a4fac224
parent81b225a69d946a17131fbba255bbc85009517b2b
Fix #version's stat

The stat length in the devtab is 0 for all strings.  We should be reporting
the length of what you can read, which is strlen + 1 (for the \0).

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/version.c