btrfs-progs: do not modify the string in parse_range
authorDavid Sterba <dsterba@suse.com>
Fri, 16 Oct 2015 12:51:20 +0000 (14:51 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 2 Nov 2015 08:35:03 +0000 (09:35 +0100)
commit2b7f0192e84a913119fb3f5652e287909da735c9
treefd198d119aa399be3f622e2f2c6e4dc382a6d826
parent9288d0bc230e12a5d49adefc6f7976483688a69a
btrfs-progs: do not modify the string in parse_range

It's passed as const but we modify it through 'dots'. This would break
parsing the string multiple times.

Signed-off-by: David Sterba <dsterba@suse.com>
cmds-balance.c