iowatcher: Fix a label overflow in plot_io

The length of the label option wasn't being checked before strcpy()ing
it into a char[256]. Use strncpy instead.

Signed-off-by: Andrew Price <anprice@redhat.com>
1 file changed
tree: 353c9df0bdc448430c0e540710de713bd8e64c25
  1. iowatcher/