From f532530b3eeb59f8e33eaf8c9d3db66c42aee892 Mon Sep 17 00:00:00 2001 From: file Date: Thu, 8 Mar 2007 15:56:05 +0000 Subject: 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 --- hpec/hpec_zaptel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hpec') 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); -- cgit v1.2.3