/[packages]/cauldron/aumix/current/SOURCES/aumix-2.8-format_not_a_string_literal_and_no_format_arguments.diff
ViewVC logotype

Contents of /cauldron/aumix/current/SOURCES/aumix-2.8-format_not_a_string_literal_and_no_format_arguments.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 305 - (show annotations) (download)
Fri Jan 7 21:39:43 2011 UTC (13 years, 3 months ago) by pterjan
File size: 549 byte(s)
imported package aumix
1 --- src/common.c 2008-12-29 17:47:19.000000000 +0100
2 +++ src/common.c.oden 2008-12-29 17:49:04.000000000 +0100
3 @@ -273,9 +273,9 @@ void ErrorExitWarn(int error,
4 #endif /* HAVE_CURSES */
5 if (error > 12) {
6 sprintf(string, LOCAL_TEXT("aumix: unknown error %i"), error);
7 - fprintf(stderr, string);
8 + fprintf(stderr, "%s", string);
9 } else if (error > 0) {
10 - fprintf(stderr, LOCAL_TEXT(errorlist[error - 1]));
11 + fprintf(stderr, "%s", LOCAL_TEXT(errorlist[error - 1]));
12 }
13 fprintf(stderr, "\n");
14 if (mode == 'e') /* exit */

  ViewVC Help
Powered by ViewVC 1.1.30