disp_set_label = set type_str to '\0' by default

This commit is contained in:
twinaphex 2014-10-13 04:33:48 +02:00
parent c46242f637
commit 54d6a73b72

View File

@ -134,6 +134,7 @@ static void disp_set_label(unsigned *w, unsigned type, unsigned i,
const char *path,
char *path_buf, size_t path_buf_size)
{
*type_str = '\0';
*w = 19;
if (!strcmp(label, "performance_counters"))