Hi John, I am actually working on a proc file and when i am running it I am getting the error. The code is in a file called vaprintf.c These are the Lines of code from where the error came. /* Write out the message to the file. */ va_start(args, input_msg); #ifdef LINUX va_copy(allargs,args); #else allargs=args; #endif vfprintf(output_file, input_msg, args); va_end(args); fputc('\n', output_file); fflush(output_file); return_value = ML_LOGGING_MESSAGE_LOGGED; va_end(args); Regards, Vivek Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=x86_64-redhat-linux Thread model: posix gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-53) On 5/12/06, John Love-Jensen <eljay@xxxxxxxxx> wrote:
Hi Vivek, > I want to know what is wrong with the code. Probably one of the parameters does not jibe with the % specifier in the format string. Just a guess, though, since you did not post the code. --Eljay