From 95e5384af3edf2804275ce97b331fcface8365f0 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 17 Jun 2003 22:18:26 +0000 Subject: Change many files to new log_fn format svn:r333 --- src/or/routers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/or/routers.c') 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; -- cgit v1.2.3-54-g00ecf