/[packages]/cauldron/gpm/releases/1.20.6/5.mga1/SOURCES/gpm-1.20.5-format_not_a_string_literal_and_no_format_arguments.diff
ViewVC logotype

Contents of /cauldron/gpm/releases/1.20.6/5.mga1/SOURCES/gpm-1.20.5-format_not_a_string_literal_and_no_format_arguments.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 683 - (show annotations) (download)
Sat Jan 8 14:58:11 2011 UTC (13 years, 3 months ago) by schedbot
File size: 437 byte(s)
%repsys markrelease
version: 1.20.6
release: 5.mga1
revision: 679

Copying 1.20.6-5.mga1 to releases/ directory.
1 --- ./src/lib/report-lib.c 2008-12-20 20:49:24.000000000 +0100
2 +++ ./src/lib/report-lib.c.oden 2008-12-20 20:49:17.000000000 +0100
3 @@ -57,7 +57,7 @@ void gpm_report(int line, char *file, in
4 log_level = LOG_CRIT; break;
5 }
6 #ifdef HAVE_VSYSLOG
7 - syslog(log_level, string);
8 + syslog(log_level, "%s", string);
9 vsyslog(log_level, text, ap);
10 #else
11 fprintf(stderr,"%s[%s(%d)]:\n",string,file,line);

  ViewVC Help
Powered by ViewVC 1.1.30