From 9e7b3a3f86c170109f7b25ed5eddc7633011b0e2 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 11 Dec 2010 13:40:13 +0000 Subject: better debug output at parseconfig git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@51 e61f0598-a718-4e21-a8f0-0aadfa62ad6b --- src/cfg_parser.rl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cfg_parser.rl b/src/cfg_parser.rl index 47d237c..76fcf08 100644 --- a/src/cfg_parser.rl +++ b/src/cfg_parser.rl @@ -215,7 +215,7 @@ int read_configfile(const char* filename, listeners_t* listener) } close(fd); - log_printf(DEBUG, "mapped %ld bytes from file %s", sb.st_size, filename); + log_printf(DEBUG, "mapped %ld bytes from file %s at address 0x%08lX", sb.st_size, filename, p); int ret = parse_listener(p, p + sb.st_size, listener); if(munmap(p, sb.st_size) == -1) { -- cgit v1.2.3