summaryrefslogtreecommitdiffstats
path: root/src/syrep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syrep.c')
-rw-r--r--src/syrep.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/syrep.c b/src/syrep.c
index 059dde0..17e6427 100644
--- a/src/syrep.c
+++ b/src/syrep.c
@@ -545,12 +545,17 @@ static int version(const char *argv0) {
"Compiled with %i Bit off_t.\n"
"Compiled with zlib %s, linked to zlib %s.\n"
"Compiled with libdb %i.%i.%i, linked to libdb %i.%i.%i\n"
- "SVN Revision "SVN_REVISION"\n",
+ "SVN Revision "SVN_REVISION"\n"
+#ifdef USE_SENDFILE
+ "Using sendfile(): yes\n",
+#else
+ "Using sendfile(): no\n",
+#endif
argv0,
sizeof(off_t)*8,
ZLIB_VERSION, zlibVersion(),
DB_VERSION_MAJOR, DB_VERSION_MINOR, DB_VERSION_PATCH,
- major, minor, patch);
+ major, minor, patch );
return 0;
}