/[packages]/cauldron/rdate/current/SOURCES/rdate-1.4-format_not_a_string_literal_and_no_format_arguments.diff
ViewVC logotype

Contents of /cauldron/rdate/current/SOURCES/rdate-1.4-format_not_a_string_literal_and_no_format_arguments.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 72742 - (show annotations) (download)
Wed Mar 16 20:41:43 2011 UTC (13 years, 1 month ago) by steletch
File size: 480 byte(s)
imported package rdate
1 --- rdate.c 2008-12-22 15:22:03.000000000 +0100
2 +++ rdate.c.oden 2008-12-22 15:23:15.000000000 +0100
3 @@ -69,7 +69,7 @@ static void writeLog(int is_error, char
4 return; /* Error, which we can't report because this _is_ the error
5 reporting mechanism */
6 if(log_mode)
7 - syslog(is_error?LOG_WARNING:LOG_INFO, buf);
8 + syslog(is_error?LOG_WARNING:LOG_INFO, "%s", buf);
9 if(is_error || print_mode)
10 fprintf(is_error?stderr:stdout, "%s: %s\n", argv0, buf);
11 }

  ViewVC Help
Powered by ViewVC 1.1.30