Commit Graph

1 Commits

Author SHA1 Message Date
Sergei Trofimovich
3e894f67fe gptfdisk: fix build against upcoming ncurses-6.3
On ncurses-6.3 with extra printf() annotations gcc now detects
use of user input in place of format strings:

    gptcurses.cc:274:10: error:
        format not a string literal and no format arguments [-Werror=format-security]
      274 |    printw(theLine.c_str());
          |    ~~~~~~^~~~~~~~~~~~~~~~~
2021-11-28 22:10:27 +00:00