]> granicus.if.org Git - cronie/commitdiff
anacron: set end job message string to be constant
authorSami Kerola <kerolasa@iki.fi>
Sat, 1 Dec 2012 18:45:38 +0000 (18:45 +0000)
committerTomas Mraz <tmraz@fedoraproject.org>
Fri, 21 Dec 2012 20:51:59 +0000 (21:51 +0100)
runjob.c:308:7: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
anacron/runjob.c

index d50b600523f236e7998eafa986364a5e38bce3f5..2a44299b1d3b87ca74d5a83a96e2708ab7e12a99 100644 (file)
@@ -298,7 +298,7 @@ tend_job(job_rec *jr, int status)
 /* Take care of a finished job */
 {
     int mail_output;
-    char *m;
+    const char *m;
 
     update_timestamp(jr);
     unlock(jr);