btrfs-progs: Fix over-sized limit on buffer
authorHugo Mills <hugo@carfax.org.uk>
Sun, 12 Jun 2011 20:52:39 +0000 (21:52 +0100)
committerChris Mason <chris.mason@oracle.com>
Tue, 25 Oct 2011 13:18:58 +0000 (09:18 -0400)
commitdfa328ac4e3e077a8972c171715cb64976e8d0f3
tree65fca7b7e2216aac834b193bfabd953c7a3fa9a5
parentde750d7a0d5a354eeec002b2db779cad42323870
btrfs-progs: Fix over-sized limit on buffer

gcc-4.4 complains (rightly) that the strncpy has a limit too large for
the array it's copying into. Use the correct array length.

Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
btrfs_cmds.c