X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fcursesdisplay.c;h=81db0af99d04b1fff3d2868cc1599b7649c8f8f9;hp=eb0caa08deb8ba6d563f603690a84d76f330d7b2;hb=3ba84bed69e8eb8e6794a7250da97406dbbe02c2;hpb=b093de8aa1ac7555d20b3aa4227d4675b39ef008 diff --git a/src/cursesdisplay.c b/src/cursesdisplay.c index eb0caa0..81db0af 100644 --- a/src/cursesdisplay.c +++ b/src/cursesdisplay.c @@ -10,10 +10,9 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, - * MA 02111-1307, USA. + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include @@ -489,9 +488,9 @@ void update_perf() g_hash_table_iter_init(&iter, data->perf_list); while (g_hash_table_iter_next (&iter, &key, (gpointer) &perfn1)) { if (perfn1->visible) { - /* + 6 to strip the "_perf_" prefix */ + /* + 5 to strip the "perf_" prefix */ mvwprintw(center, 1, perf_row, "%s", - (char *) key + 6); + (char *) key + 5); perf_row += 20; } if (perfn1->sort) {