Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 3b45a0380e497cbe346f7bcac55cc2aa > files > 11

ceph-18.1.1-1.mga9.src.rpm

--- ceph-16.2.7/src/spdk/app/spdk_top/spdk_top.c.orig	2021-12-12 13:11:37.622899412 +0100
+++ ceph-16.2.7/src/spdk/app/spdk_top/spdk_top.c	2021-12-12 13:16:00.815427440 +0100
@@ -655,7 +655,7 @@
 		snprintf(&tmp_str[max_str - DOTS_STR_LEN - 2], DOTS_STR_LEN, "%s", dots);
 	}
 
-	mvwprintw(win, row, col, tmp_str);
+	mvwprintw(win, row, col, tmp_str,"%s");
 
 	refresh();
 	wrefresh(win);
@@ -1861,13 +1861,13 @@
 			time_last = time_now.tv_sec;
 			rc = get_data();
 			if (rc) {
-				mvprintw(g_max_row - 1, g_max_col - strlen(refresh_error) - 2, refresh_error);
+			  mvprintw(g_max_row - 1, g_max_col - strlen(refresh_error) - 2, refresh_error,"%s");
 			}
 
 			max_pages = refresh_tab(active_tab, current_page);
 
 			snprintf(current_page_str, CURRENT_PAGE_STR_LEN - 1, "Page: %d/%d", current_page + 1, max_pages);
-			mvprintw(g_max_row - 1, 1, current_page_str);
+			mvprintw(g_max_row - 1, 1, current_page_str,"%s");
 
 			free_data();