summaryrefslogtreecommitdiff
path: root/hpec
diff options
context:
space:
mode:
authorfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-08 15:56:05 +0000
committerfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-08 15:56:05 +0000
commitf532530b3eeb59f8e33eaf8c9d3db66c42aee892 (patch)
tree089e7871ef8704092d60eb954de83a1c65c0d88e /hpec
parent5548cbd112a85b443ec11f856aa3afc23a077a37 (diff)
vprintk is only available on 2.6.9+ (issue #9232 reported by baconbuttie)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2296 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'hpec')
-rw-r--r--hpec/hpec_zaptel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hpec/hpec_zaptel.h b/hpec/hpec_zaptel.h
index 5a8ca1b..1ffc464 100644
--- a/hpec/hpec_zaptel.h
+++ b/hpec/hpec_zaptel.h
@@ -33,7 +33,7 @@ static int __attribute__((regparm(0))) __attribute__((format (printf, 1, 2))) lo
int res;
va_list args;
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,9)
va_start(args, format);
res = vprintk(format, args);
va_end(args);