56e8974ead
- gfs2/edit: always use "%s"-style format for printf()-style functions - Custom patch to fix a printw() call missed by the above Fixes a build failure due to format-security warnings being treated as errors
13 lines
408 B
Diff
13 lines
408 B
Diff
diff -urN gfs2-utils-3.4.1.old/gfs2/edit/gfs2hex.c gfs2-utils-3.4.1/gfs2/edit/gfs2hex.c
|
|
--- gfs2-utils-3.4.1.old/gfs2/edit/gfs2hex.c 2022-06-23 15:28:41.957428587 +0100
|
|
+++ gfs2-utils-3.4.1/gfs2/edit/gfs2hex.c 2022-06-23 15:29:38.013944443 +0100
|
|
@@ -374,7 +374,7 @@
|
|
if (termlines) {
|
|
check_highlight(TRUE);
|
|
move(line,2);
|
|
- printw(title);
|
|
+ printw("%s", title);
|
|
check_highlight(FALSE);
|
|
}
|
|
else
|