source: trunk/dports/devel/distcc/files/patch-avoid-compile-warnings.diff @ 94463

Last change on this file since 94463 was 62129, checked in by macsforever2000@…, 9 years ago

Fix build on Snow Leopard. (#20902)

File size: 789 bytes
  • src/dotd.c

    old new  
    1818 * USA.
    1919 */
    2020
     21#include <config.h>
     22
    2123#include <stdio.h>
    2224#include <string.h>
    2325#include <stdlib.h>
  • src/emaillog.c

    old new  
    1818 * USA.
    1919 */
    2020
     21#include <config.h>
     22
    2123#include <sys/types.h>
    2224#include <sys/stat.h>
    2325#include <errno.h>
     
    120122  asprintf(&will_send_message_to, will_send_message_format, whom_to_blame);
    121123  asprintf(&cant_send_message_to, cant_send_message_format, whom_to_blame);
    122124
    123   rs_log_warning(will_send_message_to);
     125  rs_log_warning("%s", will_send_message_to);
    124126  free(will_send_message_to);
    125127
    126128  if (email_fileno < 0) {
Note: See TracBrowser for help on using the repository browser.