diff options
author | Nick Mathewson <nickm@torproject.org> | 2003-06-17 22:18:26 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2003-06-17 22:18:26 +0000 |
commit | 95e5384af3edf2804275ce97b331fcface8365f0 (patch) | |
tree | 073a16b76b56f6f9d0c9c5c9cb887c4a2a501896 /src/or/routers.c | |
parent | 6965a4696cf3b00a1f385cf3f3a562897fefdb09 (diff) | |
download | tor-95e5384af3edf2804275ce97b331fcface8365f0.tar.gz tor-95e5384af3edf2804275ce97b331fcface8365f0.zip |
Change many files to new log_fn format
svn:r333
Diffstat (limited to 'src/or/routers.c')
-rw-r--r-- | src/or/routers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routers.c b/src/or/routers.c index 0f6156cdf2..06d7e2c793 100644 --- a/src/or/routers.c +++ b/src/or/routers.c @@ -218,7 +218,8 @@ int router_get_list_from_file(char *routerfile) string = tor_malloc(statbuf.st_size+1); if(read(fd,string,statbuf.st_size) != statbuf.st_size) { - log_fn(LOG_ERR,"Couldn't read all %d bytes of file '%s'.",statbuf.st_size,routerfile); + log_fn(LOG_ERR,"Couldn't read all %ld bytes of file '%s'.", + (long)statbuf.st_size,routerfile); free(string); close(fd); return -1; |