suspend-0.8-printf_format.patch 685 B

1234567891011121314151617181920212223
  1. --- suspend-0.8.20080612/bootsplash.c.printf_format 2009-02-04 09:45:15.000000000 +0100
  2. +++ suspend-0.8.20080612/bootsplash.c 2009-02-04 10:03:01.000000000 +0100
  3. @@ -118,7 +118,7 @@ int bootsplash_dialog(const char *prompt
  4. {
  5. int ret;
  6. bootsplash_to_verbose();
  7. - printf(prompt);
  8. + printf("%s", prompt);
  9. ret = getchar();
  10. bootsplash_to_silent();
  11. --- suspend-0.8.20080612/splash.c.printf_format 2009-02-04 09:45:15.000000000 +0100
  12. +++ suspend-0.8.20080612/splash.c 2009-02-04 09:56:30.000000000 +0100
  13. @@ -53,7 +53,7 @@ static void splash_dummy_readpass(char *
  14. static int splash_dialog(const char *prompt)
  15. {
  16. - printf(prompt);
  17. + printf("%s", prompt);
  18. return getchar();
  19. }