Changeset 12476


Ignore:
Timestamp:
May 30, 2011, 3:28:55 PM (11 years ago)
Author:
jordan
Message:

(trunk daemon) #4301 "strerror used instead of tr_strerror" -- fixed with a patch from taem

Location:
trunk/daemon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/daemon.c

    r12377 r12476  
    1414#include <stdio.h> /* printf */
    1515#include <stdlib.h> /* exit, atoi */
    16 #include <string.h> /* strerror() */
    1716
    1817#include <fcntl.h> /* open */
     
    503502        }
    504503        else
    505             tr_err( "Unable to save pidfile \"%s\": %s", pid_filename, strerror( errno ) );
     504            tr_err( "Unable to save pidfile \"%s\": %s", pid_filename, tr_strerror( errno ) );
    506505    }
    507506
  • trunk/daemon/watch.c

    r12298 r12476  
    7777    if( i < 0 )
    7878    {
    79         tr_err( "Unable to watch \"%s\": %s", w->dir, strerror( errno ) );
     79        tr_err( "Unable to watch \"%s\": %s", w->dir, tr_strerror( errno ) );
    8080    }
    8181    else if(( odir = opendir( w->dir )))
Note: See TracChangeset for help on using the changeset viewer.