aboutsummaryrefslogtreecommitdiff
path: root/src/or/routers.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-06-17 22:18:26 +0000
committerNick Mathewson <nickm@torproject.org>2003-06-17 22:18:26 +0000
commit95e5384af3edf2804275ce97b331fcface8365f0 (patch)
tree073a16b76b56f6f9d0c9c5c9cb887c4a2a501896 /src/or/routers.c
parent6965a4696cf3b00a1f385cf3f3a562897fefdb09 (diff)
downloadtor-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.c3
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;