forked from osmocom/wireshark
Fix another couple of warnings, but not sure what to do about the rest:
tap-iostat.c: In function ‘iostat_draw’: tap-iostat.c:542:5: error: implicit declaration of function ‘itoa’ tap-iostat.c:756:9: error: too few arguments for format tap-iostat.c:756:9: error: too few arguments for format itoa() could be converted into a g_snprintf(), but the buffer used is only one character long. Is that right? For the printf() format one, I'm not sure what was intended. svn path=/trunk/; revision=41234
This commit is contained in:
parent
86f0a7b80c
commit
e7bd26af04
|
@ -852,7 +852,7 @@ iostat_draw(void *arg)
|
||||||
printcenter (calc_type_table[type].func_name, col_w[j].val, numpad);
|
printcenter (calc_type_table[type].func_name, col_w[j].val, numpad);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (filler_s > 0)
|
if (filler_s != 0)
|
||||||
printf("%s|", filler_s);
|
printf("%s|", filler_s);
|
||||||
printf("\n|-");
|
printf("\n|-");
|
||||||
|
|
||||||
|
@ -986,7 +986,7 @@ iostat_draw(void *arg)
|
||||||
printf(fmt, (guint64)0);
|
printf(fmt, (guint64)0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (filler_s > 0)
|
if (filler_s != 0)
|
||||||
printf("%s|", filler_s);
|
printf("%s|", filler_s);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
t += interval;
|
t += interval;
|
||||||
|
|
Loading…
Reference in New Issue